[Ajuda] Promocao
#6

Quote:
Originally Posted by AFerreira
Посмотреть сообщение
pawn Код:
if(strcmp(cmd, "/promocao", true) == 0) {
    if(PlayerInfo[playerid][pLevel] <= 2) {
        PlayerInfo[playerid][pLevel]++;
        SetPlayerScore(playerid, PlayerInfo[playerid][pLevel]);
        GivePlayerMoney(playerid, 1000);
        SendClientMessage(playerid,COLOR_YELLOW," Vocк acionou sua promoзгo, agora basta relogar para adquiri-la!");
        return 1;
    } else {
        SendClientMessage(playerid,COLOR_YELLOW," Vocк nгo й mais novato, nгo pode usar este comando!");
    }
    return 1;
}
Faltou vocк utilizar SetPlayerScore.
Nossa, vdd -_- .
vlw vйi.
reputado :c
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)