need help
#1

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
Reply
#2

Ask in the Ladmin topic.

[Doppeyy
Reply
#3

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

They can help you there better than we can here...
Reply
#5

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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)