#1

Im getting a Warning on this

Код:
new expamount = nxtlevel*levelexp;
Код:
C:\Users\RЖV\Documents\Mine mottatte filer\penls.pwn(38542) : warning 204: symbol is assigned a value that is never used: "expamount"
Reply
#2

This means that you do not use the variable yet. If you add for example printf("Exp: %d", expamount) after this, the variable is used and the warning disappears.
But in most cases you can just ignore warnings.
Reply
#3

Its fine, its just a warning...telling you that you created this variable called "expamount" but you never used it in the script...

once you use "expamount" somewhere, the warning will go...

REMEMBER: "warnings" do not effect the script compileing, it just "warns" you....

"errors" stop the script from compileing...

This forum requires that you wait 120 seconds between posts. Please try again in 11 seconds.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)