21.02.2010, 13:59
(
Последний раз редактировалось aircombat; 08.04.2011 в 09:43.
)
i am using ladmin4v2 and i am using the "Must Login" but all what it do is to kill the player if he spawned without login is there a way to make the player can't spawn exept when he login , here is the script :
________
HARMED BY NEXIUM
Код:
public OnPlayerSpawn(playerid) { if(ServerInfo[MustLogin] == 1 && PlayerInfo[playerid][Registered] == 1 && PlayerInfo[playerid][LoggedIn] == 0) { GameTextForPlayer(playerid,"~r~Please Login Before Spawning!",4000,3); SetTimerEx("DelayKillPlayer", 2500,0,"d",playerid); return 1; } return 1; }
Код:
forward DelayKillPlayer(playerid); public DelayKillPlayer(playerid) { SetPlayerHealth(playerid,0.0); ForceClassSelection(playerid); }
HARMED BY NEXIUM