11.06.2012, 12:23
I get this
Код:
../gamemodes/OnPlayerCommandZCMD.pwn(3599) : error 010: invalid function or declaration ../gamemodes/OnPlayerCommandZCMD.pwn(3603) : error 010: invalid function or declaration
pawn Код:
}
CMD:sup(playerid, params[])
{
if(GetPlayerState(playerid) == 1)
{
if(PlayerToPoint(5.0,playerid,242.7591,66.4315,1003.6406))
{
SetPlayerPos(playerid, 619.0756,-566.6477,26.1432);
GameTextForPlayer(playerid, "~b~Sheriff Roof",5000,1);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
}
}
}
else
{
SendClientMessage(playerid, COLOR_LIGHTRED, "WARNING: You do not have access to this command.");
}
return 1;
}