[Ajuda] Login
#2

Код:
public OnPlayerRequestSpawn(playerid)
{
	if(Logado[playerid] == 0)
	{
	    return 0;
	}
	return 1;
}

public OnPlayerSpawn(playerid)
{
if(Logado[playerid] == 0) return Kick(playerid);
return 1;
}
Se preferir remover use TogglePlayerSpectating, mas mantenha o bloqueio na OnPlayerSpawn.
Reply


Messages In This Thread
Login - by Andinho - 01.03.2017, 17:41
Re: Login - by RodrigoMSR - 01.03.2017, 17:43
Re: Login - by Andinho - 01.03.2017, 17:54

Forum Jump:


Users browsing this thread: 1 Guest(s)