SA-MP Forums Archive
Bottom buttons function? - 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: Bottom buttons function? (/showthread.php?tid=643143)



Bottom buttons function? - ElMaestro123 - 14.10.2017

Hello, how to toggle bottom buttons by specific function, since I need them before login, because when i input text in dialog and it responds, it puts my player on spawninfo coordinates but it sets him on class selection.


Re: Bottom buttons function? - Fratello - 14.10.2017

I think you can't really call them. They show up on OnPlayerRequestClass only as far as I know.


Re: Bottom buttons function? - FuNkYTheGreat - 14.10.2017

Код:
TogglePlayerSpectating(playerid, 1);
Use this method to toggle the spawn button, And when you are all done with it and now want player to spawn use this
Код:
TogglePlayerSpectating(playerid, 0);