Jump to content

Jak ukryć nicki graczy?


Recommended Posts

Posted

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 :(

Posted

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

Posted

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 :P /reconnect też nie działa. Jak to naprawić?

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...