SA-MP Forums Archive
how i can make playar name on his head show for all.....? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: how i can make playar name on his head show for all.....? (/showthread.php?tid=231882)



how i can make playar name on his head show for all.....? - deviljingoku - 26.02.2011

hey please help me friends...i want make every player name everyone can see on his head.....how i can make it...please help...


Re: how i can make playar name on his head show for all.....? - MP2 - 26.02.2011

It's shown by default. Do you have ShowPlayerNameTagForPlayer in your script anywhere?


Re: how i can make playar name on his head show for all.....? - deviljingoku - 26.02.2011

nah....how i can make it where i want to add it in my script...?


Re: how i can make playar name on his head show for all.....? - MP2 - 26.02.2011

Names are shown by default. If you can't see them you have something in your script hiding them.


Re: how i can make playar name on his head show for all.....? - BlackWolf120 - 26.02.2011

sorry, i cant help u as well
First, im not really sure what u want.
Cause like already said the name tags are already shown by default, unless u are hiding them.
Maybe u want to attach a 3dLabel to the players?

https://sampwiki.blast.hk/wiki/CreatePlayer3DTextLabel
https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer


Re: how i can make playar name on his head show for all.....? - ifly4life - 26.02.2011

i think he wants ShowNameTags(1); that would be under gamemodeinit
or as MP2 said for the player would also work


Re: how i can make playar name on his head show for all.....? - deviljingoku - 27.02.2011

i mean player name on his head like this pic.... :-



Re: how i can make playar name on his head show for all.....? - Shetch - 27.02.2011

Add
Код:
ShowNameTags(1);
under OnGameModeInit

Example:

Код:
public OnGameModeInit()
{
ShowNameTags(1);
}



Re: how i can make playar name on his head show for all.....? - deviljingoku - 09.03.2011

thanx for help....