NPC's Problem and Spawn button Problem
#10

Quote:
Originally Posted by Mugala
Посмотреть сообщение
PHP код:
public OnPlayerRequestClass(playerid)
{
  
//SetTimerEx("SkipSpawn",10,0,"i",playerid);
  
ShowPlayerDialog(playerid, ...); //Login Dialog
  
return 0;

with return 0; you'll prevent them for spawning.
That's cool, so the spawn buttons are here permanently and player cant spawn when response on dialog.

I tried this:

Код:
public OnPlayerRequestClass(playerid, classid)
{
	TogglePlayerSpectating(playerid,1);
        SetSpawnInfo(playerid,0,0,0,0,0,0,-1,-1,-1,-1,-1,-1);
    
	return 0;
}
But still does not work :/

GOD DAMN BUTTONS I HAVE RED MANY FORUM TOPICS ABOUT THAT ANYTHING DOES NOT WORK PROPERLY
Reply


Messages In This Thread
Spawn button Problem - by ThomasEvil - 16.02.2018, 17:48
Re: NPC's Problem and Spawn button Problem - by GTLS - 16.02.2018, 17:52
Re: NPC's Problem and Spawn button Problem - by ThomasEvil - 16.02.2018, 17:59
Re: NPC's Problem and Spawn button Problem - by NaS - 16.02.2018, 18:05
Re: NPC's Problem and Spawn button Problem - by ThomasEvil - 16.02.2018, 18:12
Re: NPC's Problem and Spawn button Problem - by ThomasEvil - 17.02.2018, 02:01
Re: NPC's Problem and Spawn button Problem - by Sew_Sumi - 17.02.2018, 02:41
Re: NPC's Problem and Spawn button Problem - by ThomasEvil - 17.02.2018, 19:04
Re: NPC's Problem and Spawn button Problem - by Mugala - 17.02.2018, 19:55
Re: NPC's Problem and Spawn button Problem - by ThomasEvil - 18.02.2018, 15:25

Forum Jump:


Users browsing this thread: 1 Guest(s)