23.02.2010, 17:43
(
Последний раз редактировалось aircombat; 08.04.2011 в 09:49.
)
i use ladmin4v2 , and i use the mustlogin and must register but all what it do is : setplayerhealth at 0 then force class selection , i want it to stop him from spawning like when he press spawn button , nothing happens , here is the script :
________
AVANDIA HELP
Код:
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; } if(ServerInfo[MustRegister] == 1 && PlayerInfo[playerid][Registered] == 0) { GameTextForPlayer(playerid,"~r~Please Type /register [Password] Before Playing!",4000,3); SetTimerEx("DelayKillPlayer", 2500,0,"d",playerid); return 1; } return 1; }
AVANDIA HELP