Tag mismatch warning
#1

Somewhere in the script i have this, and it keeps saying Tag Mismatch even tho i changed rand to an integer afterward using the floatround function.
i know this method is wrong, any advice?
PHP код:
new entier,string1[80],string2[80];
        new 
Float:rand;
        
rand=random(3)+2.3;
        
floatround(randfloatround_round);
        
entier=rand//1st warning is here
        
SendClientMessage(iOOC,"====== Bank of LS ======"); 
thanks.
Reply
#2

The parameters for floatround are not passed by reference. That means the function returns the new value and doesn't alter the original values.
pawn Код:
entire = floatround(...
Reply
#3

Thanks alot Vince :*
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)