Jump to content

hide/showPlayerHudComponent


kalitonchik

Recommended Posts

problem is that I can not decide

I run this script - log dont show me erors!

but nothing happens - this script must remove the ammo,area_name,money,radar,vehicle_name,weapon

function hudChanger () 
  
        showPlayerHudComponent ( source, "ammo", false ) 
        showPlayerHudComponent ( source, "area_name", false ) 
        showPlayerHudComponent ( source, "money", false ) 
        showPlayerHudComponent ( source, "radar", false ) 
        showPlayerHudComponent ( source, "vehicle_name", false ) 
        showPlayerHudComponent ( source, "weapon", false ) 
end 
addEventHandler ( "onPlayerJoin", getRootElement(), hudChanger ) 

please help to correct the script

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...