11.09.2010, 06:50
Hey,i was creating zcmd commands but when i zcmd to open gates i have this error
Invalid function or declaration
my script
if(playerDB[playerid][specialybe]==40 || playerDB[playerid][admin])
{
COMMAND:aaa( playerid, params [ ] )
MoveObject(armija,-1627.343750, 358.795929, -1.898168, 3);
return 1;
}
Error at if(playerDB[playerid][specialybe]==40 || playerDB[playerid][admin])
and return 1;
Sorry my bad EN
Invalid function or declaration
my script
if(playerDB[playerid][specialybe]==40 || playerDB[playerid][admin])
{
COMMAND:aaa( playerid, params [ ] )
MoveObject(armija,-1627.343750, 358.795929, -1.898168, 3);
return 1;
}
Error at if(playerDB[playerid][specialybe]==40 || playerDB[playerid][admin])
and return 1;
Sorry my bad EN