09.02.2013, 19:05
Here
By the way, did the /car system work for you?
pawn Code:
new bool:ServerLocked;
public OnGameModeInit()
{
ServerLocked = false;
return 1;
}
public OnPlayerConnect(playerid)
{
if(ServerLocked) { Kick(playerid); }
return 1;
}
COMMAND:lockserver(playerid, params[])
{
if(ServerLocked)
{
ServerLocked = false;
SendClientMessage(playerid, 0xa9c4e4ff, "Server is no longer locked!");
}
else
{
ServerLocked = true;
SendClientMessage(playerid, 0xa9c4e4ff, "Server is now locked!");
}
return 1;
}