[help!] Death list
#5

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    SendDeathMessage(killerid, playerid, reason);

    if(IsPlayerConnected(killerid))
    {
        if(IsACop(killerid))
        {
            if(WantedLevel[playerid] >=1)
            {
            SendClientMessage(killerid, COLOR_YELLOW,"*?????????? ??? ??????? ? ??????");
            PlayerInfo[playerid][pJailTime] = (WantedLevel[playerid])*(600);
            PlayerInfo[playerid][pJailed] = 1;
            PlayerInfo[playerid][pWantedDeaths] += 1;
            SetPlayerInterior(playerid, 6);
            SetPlayerPos(playerid, 264.6288,77.5742,1001.0391);
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
[help!] Death list - by Paul_Landers - 13.10.2009, 13:52
Re: [help!] Death list - by dice7 - 13.10.2009, 14:56
Re: [help!] Death list - by Paul_Landers - 13.10.2009, 15:05
Re: [help!] Death list - by Paul_Landers - 13.10.2009, 16:15
Re: [help!] Death list - by Born2die - 13.10.2009, 16:19

Forum Jump:


Users browsing this thread: 1 Guest(s)