Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: Spice on Aug 17, 2015, 12:18 PM

Title: how can i show and hide the nametags of specific player
Post by: Spice on Aug 17, 2015, 12:18 PM
i want to show the name tags of specific persons like admins can show/hide their name tags while playing..... can anny one tell me which function i use....?
Title: Re: how can i show and hide the nametags of specific player
Post by: Thijn on Aug 17, 2015, 04:10 PM
Try one of these:

player.IsOnRadar = false;
player.HasMarker = false;
player.ShowMarkers = false;
Title: Re: how can i show and hide the nametags of specific player
Post by: Spice on Aug 17, 2015, 04:57 PM
i have tried but these functions only hide player from radar not hide thier name tags......
Title: Re: how can i show and hide the nametags of specific player
Post by: KAKAN on Aug 17, 2015, 05:01 PM
THis can be done, but it will affect all the players, anyways add this in server.conf
<ShowNametags>false</ShowNametags>
Title: Re: how can i show and hide the nametags of specific player
Post by: Thijn on Aug 17, 2015, 06:15 PM
Oh name tags, in that case you can't for specific players.