if(reason == 50) { new Name[MAX_PLAYER_NAME], Message[128]; GetPlayerName(killerid, Name, sizeof(Name)); format(Message, sizeof(Message), "{FFAF00}[KICK]:{F81414}%s(%d) {FFFFFF}has been KICKED for Heli Kill.", Name, playerid); SendClientMessageToAll(COLOR_RED,Message); RemovePlayerFromVehicle(killerid); SetPlayerPos(killerid,197.6661,173.8179,1003.0234) ; SetPlayerInterior(killerid,3); SetCameraBehindPlayer(killerid); SetPlayerSpecialAction(killerid,SPECIAL_ACTION_HAN DSUP); GameTextForPlayer(killerid,"~r~Kicked For Heli Kill", 10000, 0); SendClientMessage(killerid,COLOR_RED, "You Have Been automaticly Kicked For Helikill/HeliBlades."); Kick(killerid); } |
if(reason == 50)
{
new Name[MAX_PLAYER_NAME], Message[128];
GetPlayerName(killerid, Name, sizeof(Name));
format(Message, sizeof(Message), "{FFAF00}[<Jail]:{F81414}%s(%d) {FFFFFF}has been Jailed for Heli Kill.", Name, playerid);
SendClientMessageToAll(COLOR_RED,Message);
RemovePlayerFromVehicle(killerid);
SetPlayerPos(killerid,197.6661,173.8179,1003.0234) ;
SetPlayerInterior(killerid,3);
SetCameraBehindPlayer(killerid);
SetPlayerSpecialAction(killerid,SPECIAL_ACTION_HAN DSUP);
GameTextForPlayer(killerid,"~r~Jailed For Heli Kill", 10000, 0);
SendClientMessage(killerid,COLOR_RED, "You Have Been automaticly Jailed For Helikill/HeliBlades.");
SetTimerEx("jail", 60000, false, "i", killerid); // 1 min
}
forward jail(killerid);
public jail(killerid)
{
SetPlayerPos(killerid, 1543.7990 -1676.8492 12.5440);
SetPlayerInterior(killerid,0);
return 1;
}
if(reason == 50)
{
new Float:x, Float:y, Float:z;
new Name[MAX_PLAYER_NAME], Message[128];
GetPlayerName(killerid, Name, sizeof(Name));
format(Message, sizeof(Message), "{FFAF00}[JAIL]:{F81414}%s(%d) {FFFFFF}has been Jailed(1 minute) for Heli Kill.", Name, playerid);
SendClientMessageToAll(COLOR_RED,Message);
RemovePlayerFromVehicle(killerid);
SetPlayerPos(killerid,197.6661,173.8179,1003.0234) ;
SetPlayerInterior(killerid,3);
SetCameraBehindPlayer(killerid);
GetPlayerPos(playerid,x,y,z);
SetPlayerSpecialAction(killerid,SPECIAL_ACTION_HANDSUP);
GameTextForPlayer(killerid,"~r~Jailed For Heli Kill", 10000, 0);
SendClientMessage(killerid,COLOR_RED, "You Have Been automaticly Jailed For Helikill/HeliBlades.");
SetTimerEx("Jailed",60*1000,0,"iiii",killerid,x,y,z);
}
forward Jailed(killerid,x,y,z);
public Jailed(killerid,x,y,z)
{
SetPlayerInterior(killerid,-1);
SetPlayerPos(killerid,x,y,z);
SendClientMessage(killerid, -1, "Unjailed.");
}