Level not save
#2

pawn Code:
CMD:bonus(playerid)
{
    if(PlayerInfo[playerid][pLevel] == 1 || GetPlayerScore(playerid) == 1)
    {
        SendClientMessage(playerid,-1,"Deoarece ai folosit comanda /bonus ai primit:");
        SendClientMessage(playerid,-1,"-LEVEL: 3");
        SendClientMessage(playerid,-1,"-MONEY: $5.000.000");
        GivePlayerMoney(playerid,5000000);
        SetPlayerScore(playerid, 3);
        PlayerInfo[playerid][pLevel] = GetPlayerScore(playerid));
    }
    else
    {
        SendClientMessage(playerid,-1,"Trebuie sa ai minim level 1 pentru a folosi aceasta comanda.");
    }
     return 1;
}
Reply


Messages In This Thread
Level not save - by Calinut200 - 24.06.2019, 19:03
Re: Level not save - by Symon - 24.06.2019, 19:51
Re: Level not save - by SiaReyes - 24.06.2019, 19:53
Re: Level not save - by SnakePit - 24.06.2019, 20:06
Re: Level not save - by Symon - 24.06.2019, 20:10
Re: Level not save - by SnakePit - 24.06.2019, 20:16

Forum Jump:


Users browsing this thread: 1 Guest(s)