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: Error (
/showthread.php?tid=352202)
Error -
System12 - 18.06.2012
I have this error, pleas help me
C:\Users\nejira\Desktop\0.3e\gamemodes\CLRP.pwn(76 872) : warning 219: local variable "RPIme" shadows a variable at a preceding level
C:\Users\nejira\Desktop\0.3e\gamemodes\CLRP.pwn(76 877) : error 012: invalid function call, not a valid address
Re: Error -
FUNExtreme - 18.06.2012
First error means that you recreated a variable that already exists.
Second error means that you are trying to use a non- existent function
Re: Error -
System12 - 18.06.2012
Pleas help me this is cmd where is error
Quote:
if(PI[playerid][Lider] >= 3 || PI[playerid][Lider] == 0) return SCM(playerid, SIVA, "TigerBot|Niste lider PD/FBI/SWAT!");
new id, status;
new RPIme;
if(sscanf(params, "ui", id, status)) return SCM(playerid, SIVA, "Koristite: {BFC0C2}/suspenduj [Korisnicki ID] [Status: 0/1]-(0-Skidanje suspenzije|-1-Davanje suspenzije)");
if(!IsPlayerConnected(id)) return SCM(playerid, SIVA, "(greska) Taj igrac je offline!");
if(PI[playerid][Lider] != PI[id][Clan]) return SCM(playerid, SIVA, "TigerBot|Igrac nije u vasoj organizaciji!");
new hIme[2][MAX_PLAYER_NAME];
RPIme(playerid, hIme[0]);
RPIme(id, hIme[1]);
if(status == 1)
|