11.12.2012, 18:55
Quote:
if you use Kick in OnPlayerConnect this could happen, use a timer or OnPlayerRequestClass (?)
|
pawn Код:
public OnPlayerConnect(playerid)
{
//select status from contas where nickname = Falcon
// /\ return the value em Result(playerid);
return 1;
}
Result(playerid)
{
//if (status == 1) -> kick
Kick(playerid);
return 0x01;
}
chatlog.txt
Код:
[17:00:40] {FFFFFF}SA-MP {B9B9BF}0.3e {FFFFFF}Started [17:00:43] Connecting to 127.0.0.1:7777... [17:00:44] Connected. Joining the game... [17:00:59] Lost connection to the server. Reconnecting.. [17:00:59] The server is restarting.. [17:00:59] Connecting to 127.0.0.1:7777... [17:00:59] Connected. Joining the game... [17:01:11] Lost connection to the server. Reconnecting.. [17:01:11] The server is restarting.. [17:01:11] Connecting to 127.0.0.1:7777... [17:01:21] The server didn't respond. Retrying.. [17:01:21] Connecting to 127.0.0.1:7777... [17:01:21] You are banned from this server.