HELP! - 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: HELP! (
/showthread.php?tid=499769)
HELP! -
kosa451 - 09.03.2014
what is this? :S
../gamemodes/OnGameMode.pwn(11591) : warning 204: symbol is assigned a value that is never used: "amount"
amount = CountDynamicObjects();
Re: HELP! -
Matess - 09.03.2014
You don't understand ? value that is never used?
You should use it. For example: printf("%d",amount);
Re: HELP! -
kosa451 - 09.03.2014
can i have a line of that?
Re: HELP! -
kosa451 - 09.03.2014
anyone?
Re: HELP! -
Matess - 09.03.2014
What line? Its just warning. You saved CountDynamicObjects(); in amount, but you aren't using it. Delete this line or use it somewhere.
Re: HELP! -
kosa451 - 09.03.2014
when i remove the line and compile it just crash
Re: HELP! -
kosa451 - 09.03.2014
or written Pawno has stopped working
Re: HELP! -
kosa451 - 09.03.2014
no need anymore i fixed it