Nametags - Questions
#6

Quote:
Originally Posted by Jefff
Посмотреть сообщение
You dony need IsPlayerConnected part in foreach, and also i have question to all how to create
https://sampwiki.blast.hk/wiki/ShowPlayerNameTagForPlayer to this include with Create3dTextLabel ?
I just copied the code the guy made and changed the formatted 3dtext :P

And if you're going to use this as the only nametag system you have (i.e. completely remove the default nametags)

Just add this under OnGameModeInit
PHP код:
ShowNameTags(0); 
This will completely disable the nametags, if you want to make it tog-able (I see a lot servers using tog-able for admins so they can still use the nametag cleo)

Under OnPlayerConnect

PHP код:
foreach(new Player)
{
    
ShowPlayerNameTagForPlayer(playeridi0);

Then you can allow players to turn it on (anyway you wish) like this

PHP код:
foreach(new Player)
{
    
ShowPlayerNameTagForPlayer(playeridi1);

Simple as that.
Reply


Messages In This Thread
Nametags - Questions - by BrainDamaged - 12.07.2018, 20:22
Re: Nametags - Questions - by BrainDamaged - 13.07.2018, 08:22
Re: Nametags - Questions - by ItsRobinson - 13.07.2018, 19:09
Re: Nametags - Questions - by J0sh... - 13.07.2018, 19:15
Re: Nametags - Questions - by Jefff - 13.07.2018, 19:43
Re: Nametags - Questions - by ItsRobinson - 13.07.2018, 19:49
Re: Nametags - Questions - by Jefff - 13.07.2018, 20:06
Re: Nametags - Questions - by ItsRobinson - 13.07.2018, 20:29
Re: Nametags - Questions - by Jefff - 13.07.2018, 20:36
Re: Nametags - Questions - by ItsRobinson - 13.07.2018, 21:45

Forum Jump:


Users browsing this thread: 2 Guest(s)