Most Effective/Efficient way of diabling the spawn menu? - 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: Most Effective/Efficient way of diabling the spawn menu? (
/showthread.php?tid=363275)
Most Effective/Efficient way of diabling the spawn menu? -
Deal-or-die - 27.07.2012
G'day,
Whats the most Efficient/Effective way to remove the Spawn menu/class selection option?
EDIT:
Nevermind, A mate helped me fix this, I just made my InitPlayer Connection stock a public and then just called it on, 'OnPlayerConnect' and in InitPlayer Connection I Had TogglePlayerSpectating(playerid, true/false); either side on where my dialog was called.
EG
TogglePlayerSpectating(playerid, true);
ShowPlayerDialog....
TogglePlayerSpectating(playerid, false);
Re: Most Effective/Efficient way of diabling the spawn menu? -
Niko_boy - 27.07.2012
may be this help you out
https://sampforum.blast.hk/showthread.php?tid=346633
-by MP2