Vakar uztaisiju bāzi ieliku serverī - gāja.
Vienīgais es atveru durvis ,viās ieiet zemē ,bet augšā nekā nevar uzcelt ,vairākas reizes rakstiju kā aizvērt - atvērt.
Taisiju no juna saliku visu to pašu norādīju savādākas koordinātas ,pieliku īstos vārtu koordinātas pie vārtu objekta ( pārliecināts kad pareizi ) .
Re: Ees spiežu Compile ,tas lauks ir tukšs ,kur vajadzētu kaurkādam error rādīties ,tur pat 1 burts nav rakstīts.
Tālāk man viņš tā ,kā uzkarās ieslēdzas sa:mp un automātiski ieiet serverī kautkādā ''7777:'' WTF?
Code: Select all
#include
#include
#include
new mainigais1;
new baze;
//Color Defines
#define COLOR_BLUE 0x0000FFAA
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_PURPLE 0x9900FFAA
#define COLOR_BROWN 0x993300AA
#define COLOR_ORANGE 0xFF9933AA
#define COLOR_CYAN 0x99FFFFAA
#define COLOR_TAN 0xFFFFCCAA
#define COLOR_PINK 0xFF66FFAA
#define COLOR_KHAKI 0x999900AA
#define COLOR_LIME 0x99FF00AA
#define COLOR_BLACK 0x000000AA
#define COLOR_TURQ 0x00A3C0AA
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#define FILTERSCRIPT
public OnFilterScriptInit()
{
mainigais1 = 0;
baze = CreateObject(974, 1848.083496, 910.750671, 12.598053, 0.0000, 0.0000, 90.0000);
//bunkurs
CreateObject(3359, 1843.631714, 909.545227, 9.821846, 0.0000, 0.0000, 90.0000);
CreateObject(1754, 1847.382446, 907.106384, 9.815249, 0.0000, 0.0000, 270.0000);
CreateObject(1754, 1847.388184, 906.226929, 9.815249, 0.0000, 0.0000, 270.0000);
CreateObject(1754, 1847.390747, 905.325623, 9.815249, 0.0000, 0.0000, 270.0000);
CreateObject(1754, 1847.402954, 904.428223, 9.815249, 0.0000, 0.0000, 270.0000);
CreateObject(1816, 1845.720703, 906.257507, 9.813972, 0.0000, 0.0000, 180.0000);
CreateObject(2737, 1844.826416, 906.025940, 10.835447, 0.0000, 0.0000, 90.0000);
CreateObject(14556, 1840.324341, 913.739258, 11.342846, 0.0000, 0.0000, 270.0000);
CreateObject(1491, 1841.197632, 912.576233, 9.808422, 0.0000, 0.0000, 90.0000);
CreateObject(1491, 1841.156738, 914.852661, 9.808422, 0.0000, 0.0000, 270.0000);
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
//------------------------------------------------------------------------------
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp("/baze", cmdtext, true, 4) == 0)
{
if(mainigais1 == 0) {
SendClientMessage(playerid, 0x33AA33AA,"Bandas varti atverti");
MoveObject(cau, -1853.707275, 659.132019, 77.745262, 3); //vala
mainigais1 = 1;
} else if(mainigais1 == 1) {
SendClientMessage(playerid, 0xAA3333AA,"Bandas varti aizverti");
MoveObject(cau, -1848.083496, 910.750671, 12.598053, 3); //ciet
mainigais1 = 0;
}
return 1;
}
return 0;
}
Kas par vainu?