03.01.2015, 20:01
How can i add Player ID on name tag? So it would show - Firstname Lastname (ID)
I use this code,
PHP код:
stock CreateNameTagForPlayer(playerid, forplayerid) {
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
NameTag[forplayerid][playerid] = CreatePlayer3DTextLabel(forplayerid, name, 0xFFFFFFFF, 0.0, 0.0, 0.15, 5.0, playerid, INVALID_VEHICLE_ID, false);
}