SA-MP Forums Archive
Error Issue - 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 Issue (/showthread.php?tid=428235)



Error Issue - Ryan McDuff - 05.04.2013

It says that line "91121" symbol is never used: "vstorage"
I don't even have anything on that line.




Re: Error Issue - Ryan McDuff - 05.04.2013

Anybody?


Re: Error Issue - Azazelo - 05.04.2013

Try use ctr + f and type "vstorage" and put // before new vstorage ; this will fix you warning
and what is use of #pragma unused on the end of code ? Protection or something ?


Respuesta: Error Issue - trollkemada - 05.04.2013

check your includes


Re: Error Issue - Ryan McDuff - 05.04.2013

Quote:
Originally Posted by Azazelo
Посмотреть сообщение
Try use ctr + f and type "vstorage" and put // before new vstorage ; this will fix you warning
cmd:vstorage(playerid, params[])
SendClientMessageEx(playerid, COLOR_GRAD2, "This command is under development, Hold on until we script it.");

Do you have a finished version of that command? I think that might be the problem.


Re: Error Issue - Pawnie - 05.04.2013

Just remove the

Код:
new vstorage
Or anything that explains it. You are not using it anywhere.


Re: Error Issue - Azazelo - 05.04.2013

if you use cmd:
then format shod be

Quote:

cmd:vstorage(playerid, params[])
{
SendClientMessageEx(playerid, COLOR_GRAD2, "This command is under development, Hold on until we script it.");
return 1;
}

And i do not know what the command vstorage do so this is all i can do.

but you are not using it any way so you can just put this to remove warning:
Quote:

/*cmd:vstorage(playerid, params[])
{
SendClientMessageEx(playerid, COLOR_GRAD2, "This command is under development, Hold on until we script it.");
return 1;
}*/