Posts: 72
Threads: 25
Joined: Aug 2012
Reputation:
0
I maded timer, but what to use as a back to OnPlayerConnect public?
Posts: 72
Threads: 25
Joined: Aug 2012
Reputation:
0
I created reg/login system, now I want to create something like CheckRPName. You got it now?
Posts: 3,351
Threads: 780
Joined: Jan 2010
Quote:
Originally Posted by Private200
What do you mean; What to do OnPlayerConnect; If you mean that player is banned and want to kick him than you must create a saving system.
|
He's just asking for a timer to make see the "kick message" at the player:
At the top:
pawn Code:
forward KickPlayer(playerid);
public KickPlayer(playerid)
{
Kick(playerid);
return 1;
}
Put where you placed the kick message:
pawn Code:
SetTimerEx("KickPlayer",200,false,"d",playerid);
Place it AFTER the kick message.