[SOLVED] Remove spawn buttons gui - 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: [SOLVED] Remove spawn buttons gui (
/showthread.php?tid=113394)
[SOLVED] Remove spawn buttons gui -
Blt950 - 13.12.2009
Hey, I don't have any class selection at my gamemode so I want to take away this thing
I found some topics but they didn't answer completly to get it away :/
Thanks for answers
Re: Remove spawn buttons gui -
Toney - 13.12.2009
Well you can watch my tutorial
http://forum.sa-mp.com/index.php?topic=134833.msg81690 it helped me deleted them but not F4.
Re: Remove spawn buttons gui -
Blt950 - 13.12.2009
Didn't help that much. I allready disabled it. But I want to remove that buttons
Re: Remove spawn buttons gui -
Toney - 13.12.2009
Impossible do that.
Re: Remove spawn buttons gui -
Blt950 - 13.12.2009
That's wierd. Project Reality Roleplay has done it :O
You may check it out at their server 217.18.70.77:7777
Re: Remove spawn buttons gui -
Correlli - 13.12.2009
Quote:
Originally Posted by Toney
Impossible do that.
|
Don't post if you don't know.
Put the player in the spectate mode while he's at the class-request.
Re: Remove spawn buttons gui -
Blt950 - 13.12.2009
Nice! It works. But other problem is that the cam doesn't gets there I placed it to. Any ideas?
Re: Remove spawn buttons gui -
acade - 13.12.2009
Change all the positions before putting the player into spectator mode?
Re: Remove spawn buttons gui -
Blt950 - 13.12.2009
Nope, I did. It still doesn't show right cam.
Code:
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
PlayerPlaySound(playerid, 1097, -201.4289,1372.9482,67.0541);
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,323.4,305.6,999.1);
SetPlayerFacingAngle(playerid, 90.0);
SetPlayerCameraPos(playerid,-201.4289,1372.9482,67.0541);
SetPlayerCameraLookAt(playerid,204.4058,0,0);
TogglePlayerSpectating(playerid,1);
return 1;
}
Re: Remove spawn buttons gui -
Toney - 14.12.2009
Quote:
Don't post if you don't know.
Put the player in the spectate mode while he's at the class-request.
|
Hes asked about disble buttons like F4 or something like it. Impossible do that. So what i dont know?