10.01.2013, 15:35
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
Thanks in Advance
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); } |