What is wrong?
#1

HELP.
PHP код:
new string[127];
            new 
randfishjob 5000 random(1000);
            
format(string,sizeof(string),"{FFFF00}You received %s$ for your work.",FormatNumber(randfishjob));
            
SCM(playerid,COLOR_WHITE,string);
            
GivePlayerCash(playerid,randfishjob); 
and warning
PHP код:
Gamelife.pwn(33657) : warning 204symbol is assigned a value that is never used"string" 
Reply
#2

pawn Код:
new randfishjob = 5000 + random(1000), string[128];
            format(string,sizeof(string),"{FFFF00}You received %s$ for your work.",FormatNumber(randfishjob));
            SCM(playerid,COLOR_WHITE,string);
            GivePlayerCash(playerid,randfishjob);
Reply
#3

just removed the variable string u declared above.

late
Reply
#4

Done. thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)