daffabahy Posted March 11, 2016 Author Posted March 11, 2016 setPlayerNametagShowing How ? I dont know how to delete it, maybe its have default resources. Please answer me how to delete.
0m4r Posted March 11, 2016 Posted March 11, 2016 https://wiki.multitheftauto.com/wiki/Se ... tagShowing
1LoL1 Posted March 11, 2016 Posted March 11, 2016 https://wiki.multitheftauto.com/wiki/SetPlayerNametagShowing You are idiot? i already posted link.. here put in server-side this: function onResourceStart ( ) local players = getElementsByType ( "player" ) -- Store all the players in the server into a table for key, player in ipairs ( players ) do -- for all the players in the table setPlayerNametagShowing ( player, false ) -- turn off their nametag end end addEventHandler ( "onResourceStart", resourceRoot, onResourceStart ) function onPlayerJoin ( ) -- Whoever joins the server should also have their nametags deactivated setPlayerNametagShowing ( source, false ) end addEventHandler ( "onPlayerJoin", root, onPlayerJoin )
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now