Removing Spawn Menu Irritation - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Removing Spawn Menu Irritation (
/showthread.php?tid=243145)
Removing Spawn Menu Irritation -
Pridit - 21.03.2011
Right, I'll get straight to the point. I've managed to remove the spawn menu when you first connect and spawn by using the TogglePlayerSpectating function but if you then die and proceed to respawn it will show up when you have spawned.
This is very irritating, and I've tried various ways to try and remove it but it always comes up the second time I spawn. Never when I initially spawn.
Any suggestions? I've hit a brick wall.
Re : Removing Spawn Menu Irritation -
anumaz - 21.03.2011
Basically it shows up the spawn menu when you die? If that's it, then just copy the same things in "OnPlayerDeath" and "OnPlayerSpawn"
Re: Removing Spawn Menu Irritation -
Pridit - 23.03.2011
I managed to get it working eventually, but thanks for your help.