30.11.2011, 13:49
Quote:
command(pdhim, playerid, params[]) { if(Player[playerid][Tester] >= 1) new string[128], playerid, pname[24]; format(string, sizeof(string), "HELPER %s has fixed your virtual world", GetPlayerName(Tester,pname,sizeof(pname)); SendClientMessage(playerid, RED, string); if(Player[playerid][Tester] >= 1) SetPlayerPos(playerid, 1551.8000488281, 1670.4000244141, 17); SetPlayerInterior(playerid, SpawnInt); SetPlayerVirtualWorld(playerid, 0); } |
Quote:
C:\Users\Eigenaar\Desktop\SAMP\gamemodes\VortexRol eplay.pwn(12744) : error 003: declaration of a local variable must appear in a compound block C:\Users\Eigenaar\Desktop\SAMP\gamemodes\VortexRol eplay.pwn(12744) : error 017: undefined symbol "string" C:\Users\Eigenaar\Desktop\SAMP\gamemodes\VortexRol eplay.pwn(12744) : error 001: expected token: ";", but found "]" C:\Users\Eigenaar\Desktop\SAMP\gamemodes\VortexRol eplay.pwn(12744) : fatal error 107: too many error messages on one line |