How can I add a delay to my kick?
#2

pawn Код:
forward KickPublic(playerid);
public KickPublic(playerid) { Kick(playerid); }
 
stock KickWithMessage(playerid)
{
    SetTimerEx("KickPublic", 1000, 0, "d", playerid);   //Delay of 1 second before kicking the player so he recieves the message
}
After SendClientMessageToAll you can now use KickWithMessage(playerid)
Reply


Messages In This Thread
How can I add a delay to my kick? - by lramos15 - 07.06.2013, 20:22
Re: How can I add a delay to my kick? - by Facerafter - 07.06.2013, 20:25
Re: How can I add a delay to my kick? - by Red_Dragon. - 07.06.2013, 20:27
Re: How can I add a delay to my kick? - by DobbysGamertag - 07.06.2013, 20:45
Re: How can I add a delay to my kick? - by CrazyChoco - 07.06.2013, 20:48
Re: How can I add a delay to my kick? - by lramos15 - 07.06.2013, 22:57
Re: How can I add a delay to my kick? - by lramos15 - 07.06.2013, 23:05
Re: How can I add a delay to my kick? - by Guest123 - 08.06.2013, 01:11

Forum Jump:


Users browsing this thread: 2 Guest(s)