[AJUDA]Recompensas
#2

pawn Код:
if(granastatus[playerid] > 0 && (GetPlayerTeam(killerid) == 0 || GetPlayerTeam(playerid) != GetPlayerTeam(killerid)))
    {
        new nomedofd[MAX_PLAYER_NAME];
        GetPlayerName(killerid, nomedofd, sizeof(nomedofd));
        format(string, sizeof(string), "[RECOMPENSAS]: %s recebeu a recompensa de $%d mil euros por matar %s.", nomedofd, granastatus[playerid], PlayerName(playerid));
        SendClientMessageToAll(0x33AA33AA,string);
        granastatus[killerid] += granastatus[playerid];
        GivePlayerMoney(killerid, granastatus[playerid]);
        granastatus[playerid] = 0;
        ResetPlayerMoney(playerid);
    }
Reply


Messages In This Thread
[AJUDA]Recompensas - by Victor_Souz4 - 25.11.2011, 16:16
Re: [AJUDA]Recompensas - by Pharrel - 25.11.2011, 16:50
Re: [AJUDA]Recompensas - by Victor_Souz4 - 25.11.2011, 16:51
Re: [AJUDA]Recompensas - by Pharrel - 25.11.2011, 17:01
Re: [AJUDA]Recompensas - by |_MeGaTroN_| - 25.11.2011, 17:09
Re: [AJUDA]Recompensas - by Victor_Souz4 - 25.11.2011, 17:33

Forum Jump:


Users browsing this thread: 2 Guest(s)