+Reps , how to (SMall help)
#7

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
Reply


Messages In This Thread
+Reps , how to (SMall help) - by MahdiGames - 20.12.2013, 22:26
Re: +Reps , how to (SMall help) - by xVIP3Rx - 20.12.2013, 22:28
Re: +Reps , how to (SMall help) - by Tayab - 20.12.2013, 22:34
Re: +Reps , how to (SMall help) - by MahdiGames - 20.12.2013, 22:36
Re: +Reps , how to (SMall help) - by MahdiGames - 20.12.2013, 22:42
Re: +Reps , how to (SMall help) - by BlackWolf120 - 20.12.2013, 22:53
Re: +Reps , how to (SMall help) - by MahdiGames - 20.12.2013, 22:59
Re: +Reps , how to (SMall help) - by Tayab - 20.12.2013, 23:07

Forum Jump:


Users browsing this thread: 2 Guest(s)