SA-MP Forums Archive
ZCMD problem: "symbol is never used" - 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: ZCMD problem: "symbol is never used" (/showthread.php?tid=463292)



ZCMD problem: "symbol is never used" - Twizted - 11.09.2013

I've got this command:

pawn Код:
CMD:gw1(playerid, params[])
{
  GivePlayerWeapon(playerid, 26, 10000);
  SCM(playerid, COLOR_WHITE, "You've gotten yourself a Sawn Off shotgun with unlimited ammo.");
  return 1;
}
However for some reason, when compiling, I get this error message:

pawn Код:
C:\Users\nope\Desktop\Scripting\SAMP\gamemodes\test.pwn(262) : warning 203: symbol is never used: "gw1"



Re: ZCMD problem: "symbol is never used" - Dragonsaurus - 11.09.2013

At the top:
pawn Код:
#include <zcmd>



Re: ZCMD problem: "symbol is never used" - Twizted - 11.09.2013

I wanted to delete the thread before that, because I thought I had put that ontop. Thanks anyway.