OnPlayerDeath [Taken down]
#1

Hello I wan't If the police killed a player with Wanted Level +4 Put him InJail

PHP код:
else if(SWAT(GetPlayerSkin(playerid)))
            {
                
SetPlayerScore(killeridGetPlayerScore(killerid)+1);
                
SetPlayerScore(playeridGetPlayerScore(playerid)-1);
                
format(stringsizeof(string), "{E6FD00}%s[%d] has been {00E6FD}Taken Down {ffffff}by {00FFFF}S.W.A.T Special Forces {308AFF}%s(%d)!"tName,targetid,pName,playerid);
                
SendClientMessageToAll(-1,string);
                
format(stringsizeof(string), "~b~Taken Down ~W~%s(%d)"tNametargetid);
                
GameTextForPlayer(playeridstring70005);
                new 
Randomm random(sizeof(RandommJailSpawns));
                
SetPlayerPos(targetidRandommJailSpawns[Randomm][0], RandommJailSpawns[Randomm][1], RandommJailSpawns[Randomm][2]);
                
SetPlayerFacingAngle(targetidRandommJailSpawns[Randomm][2]);
                
SetPlayerInterior(targetid3);
                
pJailTimerID[targetid] = SetTimerEx("pJailTimer"1000true"i"targetid);
                
pJailCount[targetid] = 80 random(100);
                
ResetPlayerWeapons(targetid);
                
SetPlayerColor(targetidCOLOR_WHITE);
                
SetPlayerWantedLevel(targetid,0);
                
SetPlayerHealth(targetid5000000);
                return 
1;
            } 
But It's not worked anymore why? I've trying to taken down my friend but It's sayed by OFFICER not by SWAT why?
Reply


Messages In This Thread
OnPlayerDeath [Taken down] - by Thanks - 08.05.2018, 21:07
Re: OnPlayerDeath [Taken down] - by Osamakurdi - 09.05.2018, 08:33
Re: OnPlayerDeath [Taken down] - by Thanks - 09.05.2018, 09:40
Re: OnPlayerDeath [Taken down] - by Thanks - 09.05.2018, 11:54
Re: OnPlayerDeath [Taken down] - by Exhibit - 09.05.2018, 13:00
Re: OnPlayerDeath [Taken down] - by Thanks - 09.05.2018, 14:41
Re: OnPlayerDeath [Taken down] - by Osamakurdi - 09.05.2018, 17:27
Re: OnPlayerDeath [Taken down] - by Thanks - 09.05.2018, 18:20
Re: OnPlayerDeath [Taken down] - by Osamakurdi - 09.05.2018, 18:54
Re: OnPlayerDeath [Taken down] - by Thanks - 09.05.2018, 19:08

Forum Jump:


Users browsing this thread: 1 Guest(s)