A Little Help on jailing somthing | +rep
#1

Hello, i use this code to kick a Player if he heli kill how can i make so that he will get jailed for 1 min instead of going to jail
Quote:

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);
}

Thanks in Advance
Reply


Messages In This Thread
A Little Help on jailing somthing | +rep - by Mr.Faqahat - 10.01.2013, 15:35
Re : A Little Help on jailing somthing | +rep - by yusei - 10.01.2013, 15:48
Re: A Little Help on jailing somthing | +rep - by DaRk_RaiN - 10.01.2013, 15:54
Re: A Little Help on jailing somthing | +rep - by Mr.Faqahat - 10.01.2013, 16:05

Forum Jump:


Users browsing this thread: 1 Guest(s)