19.12.2012, 05:19
well i fix some of it take a look
it gives me only 1 warning C:\MTA San Andreas 1.3\sa-mp\filterscripts\me.pwn(2) : warning 203: symbol is never used: "gate"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
so how can i fix lol!
Код:
#include <a_samp> COMMAND:gate(playerid, params[]) { new name[24]; GetPlayerName(playerid, name,sizeof(name)); if (strcmp(name, "Callum_Teller",true) == 0) if (IsGateOpen == 0) { MoveObject(971, 263.6000061, -1333.8000488, 55.5999985, 0.00, 0.00, 34.0000000); IsGateOpen = 1; return 1; } else if(IsGateOpen == 1) { MoveObject(971, 263.6000061, -1333.8000488, 46.0000000, 0.00, 0.00, 34.0000000); IsGateOpen = 0; return 1; } return 1; }
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
so how can i fix lol!