Community Forum

How to hide the player's name?

Forum Overview >> Scripting

CategoryScripting
Created11.06.2014 16:35


Patryk Serafin (Unknown) 11.06.2014 16:38
How to hide the player's name??
I needs one code. Please Help now!
I would like to hide the name of the player in Multiplayer. I just need this to be appealed.
It's that?
-----------------
g_currentMission.Nickname
-----------------
Sorry for the language, I'm from Polish
:)

Emil Drefers (Unknown) 16.06.2014 08:04
Hi,

have a look at the steerable.lua:
http://ls-mods.de/scriptDocumentation.php
http://ls-mods.de/scriptDocumentation.php?lua_file=vehicles/specializations/Steerable

The variable 'self.nicknameRenderNode' is propably what you're looking for.


Best,
Emil

Bartek9843 (Unknown) 16.06.2014 20:04
I want to when you click assigned key to disappear "Nick" player in Multiplayer. How to do it? :)

Emil Drefers (Unknown) 17.06.2014 08:41
You'll have to write a script ;)

With the afore mentioned variable you can change the position of the player's name, when he/she is inside a vehicle.





Bartek9843 (Unknown) 17.06.2014 08:54
I wrote the script, but I do not know how well. :/


Bartek9843 (Unknown) 17.06.2014 08:57
My script. I'm a beginner. Please bear with us. ;)

http://wklejto.pl/204465


John Doe (Unknown) 04.12.2014 19:25
Have a look to hud hider mod, basicly you should do the work by adapting it.
You've got the basic key declaration in modDesc.xml, and the use of the declared action in the .lua file ;)
http://www.farming2015mods.com/farming-simulator-2015/other/hud-hider-v1-15b-mod/


Note: Log in to post. Create a new account here.