[ajuda] bonus
#3

pawn Код:
if(strcmp(cmd, "/bonus", true)==0)
{
    if(PlayerInfo[playerid][pBonus] == 0)
    {
        PlayerInfo[giveplayerid][pLevel] += 2;
        PlayerInfo[giveplayerid][pBonus] = 1;
        PlayerInfo[giveplayerid][pCash] += 2000000;
        SendClientMessage(playerid, COLOR_GRAD2, "Voce recebeu 2 niveis e 2kk do seu kit novato ! Bom Proveito !");
        return 1;
    }
    else
    {
        GameTextForPlayer(playerid, "~r~Voce ja pegou seu bonus de novato !", 5000, 1);
        return 1;
    }
}
Reply


Messages In This Thread
[ajuda] bonus - by ShakeTH4T - 11.03.2012, 20:19
Re: [ajuda] bonus - by ShakeTH4T - 11.03.2012, 20:22
Re: [ajuda] bonus - by Jeffrey_Hatrix Jeffrey_ - 11.03.2012, 20:28
Re: [ajuda] bonus - by zbt - 11.03.2012, 20:29
Re: [ajuda] bonus - by luizfel2 - 11.03.2012, 20:31
Re: [ajuda] bonus - by Jeffrey_Hatrix Jeffrey_ - 11.03.2012, 20:32
Re: [ajuda] bonus - by steeldark - 11.03.2012, 20:40
Re: [ajuda] bonus - by ShakeTH4T - 11.03.2012, 20:51

Forum Jump:


Users browsing this thread: 1 Guest(s)