How do I Display Rank Above Players Head - 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)
+--- Thread: How do I Display Rank Above Players Head (
/showthread.php?tid=366161)
How do I Display Rank Above Players Head -
Eminem 2ka9 - 05.08.2012
I have ZCMD and it's a rank system but How would I display the players rank about his/her head or name?
Here is the actual code:
Код:
strcat(tmp, rank);
SendClientMessage(playerid, COLOR_WHITE, tmp);
format(string, sizeof(string),"Name:%s - Your Current Score: "#COL_GREEN#"%d",Pname, score);
SendClientMessage(playerid, COLOR_WHITE, string);
return 1;
I've seen this many times in servers...
All I want is A rank like "Major" Above the players Name
Re: How do I Display Rank Above Players Head -
Jikesh - 05.08.2012
By using
https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer
Re: How do I Display Rank Above Players Head -
Eminem 2ka9 - 05.08.2012
Ok I see
Код:
public OnPlayerConnect(playerid)
{
new Text3D:label = Create3DTextLabel("Hello, I am new here!", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
return 1;
}
Now what about rank instead of "Hello, I am new here!"?
Re: How do I Display Rank Above Players Head -
Jikesh - 05.08.2012
The ranks depends on your admin levels ? or something else ?
Re: How do I Display Rank Above Players Head -
Eminem 2ka9 - 05.08.2012
No It's ZCMD so it's just military ranks. And the ranks are apart of a filterscript too...