SA-MP Forums Archive
How remove "Spawn" button from United Gaming RP? - 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: How remove "Spawn" button from United Gaming RP? (/showthread.php?tid=452492)



How remove "Spawn" button from United Gaming RP? - Kapone21 - 21.07.2013

Please help how to remove these bar

who can "disable" the spawn button ? please.. or saying how to remove


Gamemode:


Re: How remove "Spawn" button from United Gaming RP? - MP2 - 21.07.2013

Either spawn them (SpawnPlayer) or put them in to spectating mode (TogglePlayerSpectating).


Re: How remove "Spawn" button from United Gaming RP? - doreto - 21.07.2013

I found it : LINK


Re: How remove "Spawn" button from United Gaming RP? - Lordzy - 21.07.2013

Create your own custom spawn system. Under 'OnPlayerRequestClass', use 'SpawnPlayer' function and spawn the player. Then in case if you need a class selection without the SA-MP's default spawn button, you could create your own using camera coord settings, textdraws, etc.
EDIT: Late.


Re: How remove "Spawn" button from United Gaming RP? - Vrag - 21.07.2013

Spawn them at SpawnPlayer.


Re: How remove "Spawn" button from United Gaming RP? - Kapone21 - 21.07.2013

help


Re: How remove "Spawn" button from United Gaming RP? - Scenario - 21.07.2013

You have been given the solution, three freaking times. If you can't add a simple line of code, don't own a server.


Re: How remove "Spawn" button from United Gaming RP? - Rufio - 21.07.2013

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
You have been given the solution, three freaking times. If you can't add a simple line of code, don't own a server.

Exactly. It is really boring to see servers which changes just the name, compiles and runs the server. And claiming like they own the gamemode..


Re: How remove "Spawn" button from United Gaming RP? - ConnorHunter - 21.07.2013

Under OnPlayerConnect add..

pawn Код:
TogglePlayerSpectating(playerid, 1);
Then find where the dialog ends after the password is entered then type

pawn Код:
TogglePlayerSpectating(playerid, 0);
SpawnPlayer(playerid);

You were told loads of time, but if you can't follow this, please don't run a server.