SA-MP Forums Archive
Warning - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Warning (/showthread.php?tid=278478)



Warning - James_Bourne - 22.08.2011

Code:
C:\Users\james\Downloads\DM\Gamemodes\MTDM_1.0.pwn(1326) : warning 203: symbol is never used: "Spawn"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Its in this code:
Code:
Spawn(playerid, classid)



Re: Warning - Lenny the Cup - 22.08.2011

You're not calling it anywhere. See if you have SpawnPlayer somewhere in your code, maybe you want to replace it with Spawn?


Re: Warning - WoodPecker - 22.08.2011

Remove this from your gamemode:
pawn Code:
Spawn(playerid, classid)



Re: Warning - James_Bourne - 22.08.2011

wood if i do that i get 8-10 errors.
lenny it dont have Spawn Player.


Re: Warning - [MWR]Blood - 22.08.2011

Then try the lazy way, add
pawn Code:
#pragma unused Spawn
at the top of your gamemode!


Re: Warning - James_Bourne - 22.08.2011

Thanks