Posts: 284
Threads: 77
Joined: Nov 2013
Quote:
Originally Posted by BlackWolf120
pawn Код:
public OnPlayerConnect(playerid) { new version[40]; GetPlayerVersion(playerid,version,sizeof(version)); if(strcmp(version,"0.3x",false)) == true) { KickForMessageDelay(playerid); SendClientMessage(playerid, 0xFF0000FF, "Please download the latest version of SA-MP!"); } return 1; } stock KickForMessageDelay(playerid) { SetTimerEx("AKick",500,false,"i",playerid); return 1; } forward AKick(playerid); public AKick(playerid) { Kick(playerid); return 1; }
try this
|
You know this protecting ur server from bots attackers thanks. i will try