05.06.2014, 21:17
Hello, I tried to put the name over the head and donґt works, this is my code:
I tried also with this
but donґt works
Note: Another players canґt view my name over the head with this code.
Please help me
pawn Код:
new Text3D:PlayerLabel[MAX_PLAYERS];
new string[128], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(string,sizeof(string),"%s",name;
PlayerLabel[playerid] = Create3DTextLabel(string,RED,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(PlayerLabel[playerid], playerid, 0.0, 0.0, 0.7);
pawn Код:
new Text3D:PlayerLabel[MAX_PLAYERS];
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
PlayerLabel[playerid] = Create3DTextLabel(name,RED,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(PlayerLabel[playerid], playerid, 0.0, 0.0, 0.7);
Note: Another players canґt view my name over the head with this code.
Please help me