29.01.2011, 22:51
Okay, I created a gate command, here it is
Top line is line 11656
Bottom line is 11666
but when I compile it I get
anyone know why?
Top line is line 11656
Bottom line is 11666
Код:
if (strcmp(cmdtext, "/agateo", true)==0) { if(AccountInfo[playerid][aLevel] <= 0) SendClientMessage(playerid, COLOR_RED, "You need to be a Helper to use the gate command!"); { MoveObject(agate,-1470.45617676,2611.21215820,50); SendClientMessage(playerid, COLOR_YELLOW, "You open the admin gates!"); } if (strcmp(cmdtext, "/agatec", true)==0) { if(AccountInfo[playerid][aLevel] <= 0) SendClientMessage(playerid, COLOR_RED, "You need to be a Helper to use the gate command!"); { MoveObject(agate,-1470.45617676,2611.21215820,59.36460876); SendClientMessage(playerid, COLOR_YELLOW, "You close the admin gates!"); }
Код:
C:\Users\JoshLovely\Desktop\CNR-H.pwn(1634) : error 029: invalid expression, assumed zero C:\Users\JoshLovely\Desktop\CNR-H.pwn(11656) : error 010: invalid function or declaration C:\Users\JoshLovely\Desktop\CNR-H.pwn(11658) : error 010: invalid function or declaration C:\Users\JoshLovely\Desktop\CNR-H.pwn(11663) : error 010: invalid function or declaration C:\Users\JoshLovely\Desktop\CNR-H.pwn(11665) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.