SA-MP Forums Archive
Removing spawn buttons. - 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)
+--- Thread: Removing spawn buttons. (/showthread.php?tid=372210)



Removing spawn buttons. - TaLhA XIV - 25.08.2012

Hello,
I have a question that how to remove the spawn buttons?
ThAnKs.


Re: Removing spawn buttons. - [Y]P90 - 25.08.2012

You could:
Код:
public OnPlayerRequestSpawn(playerid)
{
return 0;
}
And immediately on OnPlayerConnect spawn him with "SpawnPlayer".

But deleting the arrows only is not possible


Re: Removing spawn buttons. - Riddick94 - 25.08.2012

You can do something like "Hide" Spawn buttons.. You just need to use TogglePlayerSpectating. Look for it in ****** or in the forum search option. I'm using Y_Classes and Y_Groups from ****** includes and then just using Class_DenySelection and Class_ReturnToSelection.. simple as it is.. After it you can make your own cam to OnPlayerConnect, no problem.


Re: Removing spawn buttons. - TaLhA XIV - 25.08.2012

Can i have a piece of small codes?