[Ajuda] Promocao
#2

PHP код:
//Comando pra mim ta certo mais tenta assim:

    
if(strcmp(cmd"/promocao"true) == 0)
    {
        if(
IsPlayerConnected(playerid))
        {
            if(
PlayerInfo[playerid][pLevel] <= 2)
            {
                
PlayerInfo[playerid][pLevel] = 3;// Coloca quantidade que vai receber de Level
                
GivePlayerMoney(playerid1000);
                
SendClientMessage(playerid,COLOR_YELLOW," Vocк acionou sua promoзгo, agora basta relogar para adquiri-la!");
                return 
true;
            }
            else
            {
                
SendClientMessage(playerid,COLOR_YELLOW," Vocк nгo й mais novato, nгo pode usar este comando!");
            }
        }
        return 
true;
    } 
Reply


Messages In This Thread
Promocao - by StarAway - 05.12.2012, 03:37
Re: Promocao - by Life Advanced - 05.12.2012, 04:34
Re: Promocao - by BreakDriFT - 05.12.2012, 04:35
Re: Promocao - by StarAway - 05.12.2012, 12:40
Re: Promocao - by Abravanel - 05.12.2012, 13:00
Re: Promocao - by StarAway - 05.12.2012, 13:03

Forum Jump:


Users browsing this thread: 1 Guest(s)