Pawn Bug
#1

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
Reply
#2

----
Reply
#3

Remove the unused variables!
Reply
#4

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.
Reply
#5

you will go at the 32998 and 33055 line and delete them. I hope that i helped you.
Reply
#6

thank you guys !
Reply
#7

Why did you create several threads about this topic?
Reply
#8

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 )
pawn Код:
#pragma unused string
Код:
#pragma unused
It eliminates warning
Reply
#9

That just warns you that you have a variable in your gamemode/script that you haven't used yet.
Reply
#10

just find where in the script that varibales are declared and delete them or use comment ( // )
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)