Hide HUD bar the uppercase.
#1

Hello,

I have hide the HUD bar, but still want to hide the uppercase in the name how is that possible?

I have this for now:

Код:
ShowNameTags(false);
    new playername2[24];
	new name[MAX_PLAYER_NAME];
	GetPlayerName(playerid, name, sizeof(name));
	format(playername2, sizeof(playername2), "%s", name);
	new Text3D:attachplayername = Create3DTextLabel(playername2, COLOR_WHITE, 30.0, 40.0, 50.0, 40.0, 0);
	Attach3DTextLabelToPlayer(attachplayername, playerid, 0.0,0.0,0.2);
Reply
#2

Bumper.
Reply
#3

You can bump after 12 hours without replies, not 7 minutes. I can't understand anything you want in first post, so I can't help you
Reply
#4

I have removed the nametag, and placed a textlabel above every member with the name.

Example:
Peter_Griffin

What I want:
Peter Griffin
Reply
#5

It's called underscore. Also I've got deja vu answering to this question

pawn Код:
[code]
ShowNameTags(false);
new name[MAX_PLAYER_NAME + 1];
GetPlayerName(playerid, name, sizeof(name));
for(new c = 0, l = strlen(name); c < l; ++c) {
    if('_' == name[c]) {
        name[c] = ' ';
        break;
    }
}
new Text3D:attachplayername = Create3DTextLabel(name, COLOR_WHITE, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(attachplayername, playerid, 0.0,0.0,0.2);
Reply
#6

Haha thanks Misiur, you are the best <3
Reputatioin is coming your way.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)