Cop Kill
#1

Hi..I have a problem...If i have wanted level and a cop kill me..I'm not going to prison..How i can solve this..
P.S.: If u need a line or something please tell me.
Thanks!!
Reply
#2

You wont go to prison because the cop killed you.

Peace...
Reply
#3

Well.
At onplayerdeath.

What are you using? gTeam?
Or variable for cops like new cop[MAX_PLAYERS];

Once you've told me that I'll help
Reply
#4

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    new name[MAX_PLAYER_NAME];
    new string[256];
    //new dmessage[128];
    //new deathreason[20];
    new playercash;
    new victimteam;
    new Float:px,Float:py,Float:pz;
    new killerteam;

    victimteam = gTeam[playerid];
    killerteam = gTeam[killerid];
    gPlayerSpawned[playerid] = 0;
    GetPlayerName(playerid, name, sizeof(name));
    PlayerInfo[playerid][pLocal] = 255;
    GetPlayerPos(playerid, px, py, pz);
    if(killerid != 255)
    {
this..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)