Pawn Bug - 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: Pawn Bug (
/showthread.php?tid=437136)
Pawn Bug -
Tidzii - 14.05.2013
Hey guys i have this error :
Код:
C:\Users\Toshiba\Desktop\RP\RP 0.3x\gamemodes\RP.pwn(32998) : warning 204: symbol is assigned a value that is never used: "string"
C:\Users\Toshiba\Desktop\RP\RP 0.3x\gamemodes\RP.pwn(33055) : warning 204: symbol is assigned a value that is never used: "string"
How to fix it please
Re: Pawn Bug -
Facerafter - 14.05.2013
----
AW: Pawn Bug -
HurtLocker - 14.05.2013
Remove the unused variables!
Re: Pawn Bug -
Knappen - 14.05.2013
Go to line 32998 and delete the value that's not being used... In this case "string".
Same goes for 33055.
The warning pretty much says what's wrong. If the value is not used, why even have it?
EDIT: The same as the previous post. Posted at the same time, so double post, basically.
Re: Pawn Bug -
RedForceFT - 14.05.2013
you will go at the 32998 and 33055 line and delete them. I hope that i helped you.
Re: Pawn Bug -
Tidzii - 14.05.2013
thank you guys !
Re: Pawn Bug -
Cameltoe - 14.05.2013
Why did you create several threads about this topic?
Re: Pawn Bug -
mineralo - 14.05.2013
that isn't error but just warning
if you're just testing something and want to use a variable/string later but declareted and assigned then you can use this ( in your case is string )
It eliminates warning
Re : Pawn Bug -
Rayan_black - 14.05.2013
That just warns you that you have a variable in your gamemode/script that you haven't used yet.
Re: Pawn Bug -
dominik523 - 14.05.2013
just find where in the script that varibales are declared and delete them or use comment ( // )