SA-MP Forums Archive
epic problem - 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: epic problem (/showthread.php?tid=541554)



epic problem - Ryz - 12.10.2014

today i have changed class system to dialogbox style

but i got 1 problem

when player request class he shows spawn button down from dialogbox, see this image



Help


Re: epic problem - Stinged - 12.10.2014

When the player connects add this: TogglePlayerSpectating(playerid, 1);
Then when the player finishes selection class, add this: TogglePlayerSpectating(playerid, 0);


Re: epic problem - iOxide - 12.10.2014

I suggest you to use TogglePlayerSpectating under OnPlayerRequestClass.

EDIT: Too late :/


Re: epic problem - Ryz - 12.10.2014

working thanks you both guys