SA-MP Forums Archive
need help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: need help (/showthread.php?tid=129777)



need help - aircombat - 23.02.2010

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 :

Код:
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


Re: need help - Doppeyy - 23.02.2010

Ask in the Ladmin topic.

[Doppeyy


Re: need help - aircombat - 23.02.2010

omg dude , if u want to help u post , if u don't just don't write stupid comments
________
New Mexico Dispensary


Re: need help - VonLeeuwen - 23.02.2010

They can help you there better than we can here...


Re: need help - Doppeyy - 23.02.2010

Quote:
Originally Posted by [AC
Etch ]
omg dude , if u want to help u post , if u don't just don't write stupid comments
Its not a stupid comment.
I am just telling you what other people would say to you aswell .

[Doppeyy