SA-MP Forums Archive
[SOLVED]warning 204: symbol is assigned a value that 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [SOLVED]warning 204: symbol is assigned a value that is never used (/showthread.php?tid=278731)



[SOLVED]warning 204: symbol is assigned a value that is never used - BigAl - 23.08.2011

pawn Code:
C:\Documents and Settings\Ross\Desktop\DV New Server\gamemodes\dvdrift.pwn(773) : warning 204: symbol is assigned a value that is never used: "TimerA"
C:\Documents and Settings\Ross\Desktop\DV New Server\gamemodes\dvdrift.pwn(774) : warning 204: symbol is assigned a value that is never used: "TimerC"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Warnings.
pawn Code:
TimerA = SetTimer("AngleUpdate", 200, true);
    TimerC = SetTimer("CheckPlayerState", 100, true);
Why am I getting these warnings?


Re: [SOLVED]warning 204: symbol is assigned a value that is never used - Darnell - 23.08.2011

Are the timers placed under OnGameModeInIt ?


Re: [SOLVED]warning 204: symbol is assigned a value that is never used - brett7 - 23.08.2011

It looks like there are no other functions in your script that call those timers, so you could probably just not bother with the names.