How to remove spawn button?
#9

Under OnPlayerConnect, use TogglePlayerSpectating. Then use SetSpawnInfo to allow automatic spawning under OnPlayerRequestClass. When you want them to spawn, simply set their spectating to false.

https://sampwiki.blast.hk/wiki/SetSpawnInfo
Reply


Messages In This Thread
How to remove spawn button? - by SHoCK44 - 02.08.2014, 19:20
Re: How to remove spawn button? - by GeekSiMo - 02.08.2014, 19:26
Re: How to remove spawn button? - by [XST]O_x - 02.08.2014, 19:28
Re: How to remove spawn button? - by SHoCK44 - 02.08.2014, 19:29
Re: How to remove spawn button? - by GeekSiMo - 02.08.2014, 19:32
Re: How to remove spawn button? - by McBan - 02.08.2014, 19:33
Re: How to remove spawn button? - by SHoCK44 - 02.08.2014, 19:37
Re: How to remove spawn button? - by SHoCK44 - 02.08.2014, 19:39
Re: How to remove spawn button? - by Snipa - 02.08.2014, 19:57
Re: How to remove spawn button? - by SHoCK44 - 02.08.2014, 20:26

Forum Jump:


Users browsing this thread: 1 Guest(s)