SA-MP Forums Archive
hide the "SPAWN" button - 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: hide the "SPAWN" button (/showthread.php?tid=111436)



hide the "SPAWN" button - oicq747285250 - 01.12.2009

put TogglePlayerSpectating(playerid, 1) in OnPlayerConnect
put TogglePlayerSpectating(playerid, 0) in OnPlayerRequestClass
then the button killed


Re: hide the "SPAWN" button - Daren_Jacobson - 01.12.2009

is this a guide?


Re: hide the "SPAWN" button - Doppeyy - 02.12.2009

A little more info about it would be nice ?

/Artix


Re: hide the "SPAWN" button - kamilbam - 11.12.2009

Quote:
Originally Posted by oicq747285250
put TogglePlayerSpectating(playerid, 1) in OnPlayerConnect
put TogglePlayerSpectating(playerid, 0) in OnPlayerRequestClass
then the button killed
You can just simply add TogglePlayerSpectaring in OnPlayerConnect without adding same thing in OnPlayerRequestClass.


Re: hide the "SPAWN" button - Mike Garber - 14.12.2009

I've no Idea whether this works or not,
But If It does, It'll remove the SA:MP GUI Buttons from the bottom on your Player Skin Selection screen.



Re: hide the "SPAWN" button - kamilbam - 15.12.2009

Yeh it will remove those but the problem is that xd It will place your camera at spectating pos...

Ehh why they didint add like EnableSpawnButtons(); xdd


Re: hide the "SPAWN" button - pagie1111 - 15.12.2009

Quote:
Originally Posted by kamilbam
Yeh it will remove those but the problem is that xd It will place your camera at spectating pos...

Ehh why they didint add like EnableSpawnButtons(); xdd
Set a timer to change it to the pos....


Re: hide the "SPAWN" button - OELABOELA - 15.12.2009

Quote:
Originally Posted by ◄[DirtyDutch
αятιχ► ]
A little more info about it would be nice ?

/Artix
Totally right, more info = more help