[AJUDA]Contratos
#4

pawn Код:
}
    if(PlayerInfo[playerid][pHeadValue] > 0)
    {
        if(IsPlayerConnected(killerid))
        {
            if(gTeam[killerid] == 10 || PlayerInfo[killerid][pLider] == 8  || PlayerInfo[killerid][pMembro] == 8)
            {
                if(GoChase[killerid] == playerid)
                {
                    ConsumingMoney[killerid] = 1;
                    new killer[MAX_PLAYER_NAME];
                    GetPlayerName(killerid, killer, sizeof(killer));
                    GivePlayerMoneyEx(killerid, PlayerInfo[playerid][pHeadValue]);
                    format(string,128,"<< Assassino %s cumpriu o contrato em %s e ganhou R$%d >>",killer,name,PlayerInfo[playerid][pHeadValue]);
                    SendFamilyMessage(8, COLOR_YELLOW, string);
                    PlayerInfo[playerid][pHeadValue] = 0;
                    GotHit[playerid] = 0;
                    PlayerInfo[hitid][pMask] = 0;
                    GetChased[playerid] = 999;
                    GivePlayerMoney(killerid, 999); // <-
                }
            }
        }
Tenta GivePlayerMoney
Reply


Messages In This Thread
[AJUDA]Contratos - by BrunoBSF - 18.08.2011, 00:08
Re: [AJUDA]Contratos - by Dolby - 18.08.2011, 00:15
Re: [AJUDA]Contratos - by BrunoBSF - 18.08.2011, 00:18
Re: [AJUDA]Contratos - by Victor Cesaroni - 18.08.2011, 00:21
Re: [AJUDA]Contratos - by histire - 18.08.2011, 00:23
Re: [AJUDA]Contratos - by BrunoBSF - 18.08.2011, 00:27
Re: [AJUDA]Contratos - by Macintosh - 18.08.2011, 00:32
Re: [AJUDA]Contratos - by BrunoBSF - 18.08.2011, 00:33
Re: [AJUDA]Contratos - by Victor Cesaroni - 18.08.2011, 00:37
Re: [AJUDA]Contratos - by BrunoBSF - 18.08.2011, 00:39

Forum Jump:


Users browsing this thread: 3 Guest(s)