mommytellme Posted April 5, 2014 Posted April 5, 2014 Cześć, mam pytanie jak ukryć nicki graczy? Chodzi mi o to, żeby nad graczem nie było widać jego nicku, było by to przydatne do nagrywania filmów. Może być to także w skrypcie, nie ma problemu. W mc coś takiego było na F1 bodajże ale tutaj czegoś takiego nie ma
dzek (varez) Posted April 5, 2014 Posted April 5, 2014 bodajże https://wiki.multitheftauto.com/wiki/Set ... tagShowing
mommytellme Posted April 5, 2014 Author Posted April 5, 2014 Skorzystałem z tego przykładu: root = getRootElement ( ) -- Store all the players in the server into a table players = getElementsByType ( "player" ) function ResourceStart ( name, root ) for k,v in ipairs ( players ) do -- for all the players in the table setPlayerNametagShowing ( v, false ) -- turn off their nametag end end addEventHandler ( "onResourceStart", root, ResourceStart ) function PlayerJoin () -- Whoever joins the server should also have their nametags deactivated setPlayerNametagShowing ( source, false ) end addEventHandler ( "onPlayerJoin", root, PlayerJoin ) ale skończyło się tym, że po usunięciu tego kodu i zrestartowaniu resource nicków dalej nie ma /reconnect też nie działa. Jak to naprawić?
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