[Ajuda] Bloquear
#2

Fais Assim
PHP код:

CMD
:drop(playerid)
{
 
GetLevel(playerid);
 return 
1;
}
stock GetLevel(playerid)
{
   {
        if(
GetPlayerScore(playerid) >= 0)
            
GivePlayerWeapon(playeridIDBALAS); //score 0 pra +
        
else if(GetPlayerScore(playerid) >= 1000//score 1000 pra + e assim continua
            
GivePlayerWeapon(playeridIDBALAS);
        else if(
GetPlayerScore(playerid) >= 5000)
            
GivePlayerWeapon(playeridIDBALAS);
        else if(
GetPlayerScore(playerid) >= 10000)
            
GivePlayerWeapon(playeridIDBALAS);
        else if(
GetPlayerScore(playerid) >= 100000)
           
GivePlayerWeapon(playeridIDBALAS);
        else if(
GetPlayerScore(playerid) >= 300000)
            
GivePlayerWeapon(playeridIDBALAS);
    }
    return 
1;

Reply


Messages In This Thread
Bloquear - by Vegassilva - 13.10.2015, 23:16
Re: [Ajuda]Bloquear - by Asus994 - 13.10.2015, 23:24

Forum Jump:


Users browsing this thread: 1 Guest(s)