SA-MP Forums Archive
How come... ? - 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: How come... ? (/showthread.php?tid=484567)



How come... ? - Eliminator - 31.12.2013

Mmmm what is the Error with this

PHP код:
//================================ New ==================================
new Pickup;
    
    
//This is On Gamemod Unit
     
Pickup CreatePickup(1239,1,1980.5593,440.8545,27.6241,0); 
ERROR:
Код:
\gamemodes\ExE.pwn(161) : warning 204: symbol is assigned a value that is never used: "Pickup"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Whats the reason??


Re: How come... ? - dominik523 - 31.12.2013

It's not error, it just a simple warning. You did not use variable Pickup anywhere in the script. ID of the pickup is just stored inside. As soon as you use it somewhere, that warning will disappear.


Re: How come... ? - Eliminator - 31.12.2013

Thanks Rep+ Added