Question about string
#3

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);
}

erros by this one ..

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

Reply


Messages In This Thread
Question about string - by ikbenremco - 30.11.2011, 13:39
Re: Question about string - by moadi - 30.11.2011, 13:42
Re: Question about string - by ikbenremco - 30.11.2011, 13:49
Re: Question about string - by ikbenremco - 30.11.2011, 14:33
Re: Question about string - by [MG]Dimi - 30.11.2011, 14:35
Re: Question about string - by ikbenremco - 30.11.2011, 17:03

Forum Jump:


Users browsing this thread: 1 Guest(s)