SA-MP Forums Archive
Scripting Error! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Scripting Error! (/showthread.php?tid=512300)



Scripting Error! - pln103 - 10.05.2014

This line right here
Код:
rp.pwn(1310) : error 001: expected token: ",", but found ";"
Код:
format(msg, sizeof(msg), "NumAJails:[%s] NumKicks:[%s] NumBans[%s]",getNumberString(GetPVarInt(targetid, "NumAJAils")),getNumberString(GetPVarInt(targetid, "NumKicks")), getNumberString(GetPVarInt(targetid, "NumBans"));
Please help me


Re: Scripting Error! - DiGiTaL_AnGeL - 10.05.2014

Show me the line 1309.


Re: Scripting Error! - rockhopper - 10.05.2014

Remove those " Beafore NumAJails and After NumBAns


Re: Scripting Error! - pln103 - 10.05.2014

Код:
	if(EAdminFlags:GetPVarInt(playerid, "AdminFlags") != EAdminFlags_None) {
		format(msg, sizeof(msg), "NumAJails:[%s] NumKicks:[%s] NumBans[%s]",getNumberString(GetPVarInt(targetid, "NumAJAils")),getNumberString(GetPVarInt(targetid, "NumKicks")), getNumberString(GetPVarInt(targetid, "NumBans"));
		SendClientMessage(playerid, COLOR_LIGHTRED, msg);