Level Up system
#3

PHP код:
if((GangTurf[x][turfLevel] >= && GangTurf[x][turfLevel] <= 11) && GangTurf[x][turfXP] >= (GangTurf[x][turfLevel] + 1) * 50

    
GangTurf[x][turfLevel] += 1
    
GetTurfLocation(xzone28); 
    
format(stringsizeof(string), "* Your turf at %s is now level %d. (Total XP: %s)"GangTurf[x][turfLevel], AddComma(GangTurf[x][turfXP])); 
    
SendTeamMessage(GangTurf[x][turfOwner], GetTeamColor(GangTurf[x][turfOwner]), string); 
    switch(
GangTurf[x][turfSpecial]) 
    { 
        case 
1// Cash Generation 
        

            
format(stringsizeof(string), "HINT: Cash Generation has increased, Your turf will now receive $%d per minute.", (GangTurf[x][turfLevel] + 1) * 50); 
            
SendTeamMessage(GangTurf[x][turfOwner], -1string); 
        } 
    } 

If I am not mistaken, this will work.
Reply


Messages In This Thread
Level Up system - by JaKe Elite - 14.07.2016, 10:42
Re: Level Up system - by Sjn - 14.07.2016, 10:53
Re: Level Up system - by Godly - 14.07.2016, 10:53
Re: Level Up system - by Vince - 14.07.2016, 10:57

Forum Jump:


Users browsing this thread: 1 Guest(s)