24.02.2010, 23:20
Okay, basically i want a timer on the kick command, so that it let's the message appear then 3 seconds later it kicks you.
how could i do this, I'm a beginner and i can't seem to get the timers working.
so any help with this is appreciated.
SendClientMessage(playerid,COLOR_RED,"Invalid Name, Correct Format: Firstname_lastname.");
SendClientMessage(playerid,COLOR_RED,"You will be kicked in 3 seconds.");
// Kicks the player that doesn't have a roleplay name.
Kick( playerid );
EDIT: ok i figured it out, thanks a bunch though guys.
how could i do this, I'm a beginner and i can't seem to get the timers working.
so any help with this is appreciated.
SendClientMessage(playerid,COLOR_RED,"Invalid Name, Correct Format: Firstname_lastname.");
SendClientMessage(playerid,COLOR_RED,"You will be kicked in 3 seconds.");
// Kicks the player that doesn't have a roleplay name.
Kick( playerid );
EDIT: ok i figured it out, thanks a bunch though guys.