Hitman bug
#1

When I kill someone (as assassin) I don't recive money .. Why ?

pawn Код:
if(PlayerInfo[playerid][pHeadValue] > 0)
    {
        if(IsPlayerConnected(killerid))
        {
            if(PlayerInfo[killerid][pLeader] == 8 || PlayerInfo[killerid][pMember] == 8)
            {
                if(GoChase[killerid] == playerid)
                {
                    new killer[MAX_PLAYER_NAME];
                    GetPlayerName(killerid, killer, sizeof(killer));
                    GivePlayerCash(killerid, PlayerInfo[playerid][pHeadValue]);
                    format(string,128,"<< Assasin %s a omorat pe %s si a primit $%d >>",killer,name,PlayerInfo[playerid][pHeadValue]);
                    SendFamilyMessage(8, COLOR_YELLOW, string);
                    SendClientMessage(playerid,COLOR_YELLOW,"<< Nimic personal. Cineva a pus un contract pe tine si asasinul l-a indeplinit >>");
                    PlayerInfo[playerid][pHeadValue] = 0;
                    GotHit[playerid] = 0;
                    GetChased[playerid] = 999;
                    GoChase[killerid] = 999;
                }
            }
        }
    }
Reply


Messages In This Thread
Hitman bug - by cotyzor - 05.03.2012, 14:48
Re: Hitman bug - by Twisted_Insane - 05.03.2012, 15:16
Re: Hitman bug - by cotyzor - 05.03.2012, 15:53
Re: Hitman bug - by Walsh - 05.03.2012, 16:17

Forum Jump:


Users browsing this thread: 1 Guest(s)