Hide HUD - 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: Hide HUD (
/showthread.php?tid=435129)
Hide HUD -
Madzior_ - 05.05.2013
Hi!
Is it possible to hide player's HUD scriptable? How?
Re: Hide HUD -
bensmart469 - 05.05.2013
It is not possible with SA-MP. The only way to do it would be to press F7 (or F9, cant remember which one).
Re: Hide HUD -
DiGiTaL_AnGeL - 05.05.2013
If you toggle the player spectating(without setting the player to spectate another player) will hide the HUD:
pawn Code:
TogglePlayerSpectating(playerid, true);
I think there are more possibilities, but I only know this one.
Re: Hide HUD -
MP2 - 05.05.2013
- F7
- SetPlayerDrunkLevel
- TogglePlayerSpectating
- Selection mode (TD/object etc.)
- Special action 'dancing'
They all have undesired effects though.
Re: Hide HUD -
Madzior_ - 05.05.2013
DiGiTaL_AnGeL and MP2, ty. I'll try this next time.
Re: Hide HUD -
Madzior_ - 06.05.2013
Sorry for duble post but...
I want to hide HUD and still control my ped. Is it possible? I want to do it scriptable, so i can't use F7. SetPlayerDrunkLevel is bad idea because a screen is moving. Selection mode and action dancing don't allow me to control ped. The same is with TogglePlayerSpectating(playerid, true). Maybe there's any tip for my problem? I think yes. Look at this movie from OnePiece for SA-MP. Player is controlling his ped without HUD.
[ame="http://www.youtube.com/watch?v=j4tzPtJrnW0"]http://www.youtube.com/watch?v=j4tzPtJrnW0[/ame]
//edit: or he used F7?
//edit2: or look here