05.02.2018, 23:52
new msg[128];
format(msg, sizeof(msg), " %d, %s", playerid, CharacterCache[CharacterUID(playerid)][cICName]);
CharacterCache[CharacterUID(playerid)][cNameLabel] = CreateDynamic3DTextLabel(msg, COLOR_WHITE, 0.0, 0.0, 0.15, 25.0, playerid, INVALID_VEHICLE_ID, 1, -1, -1, -1);
format(msg, sizeof(msg), " ");
CharacterCache[CharacterUID(playerid)][cUnderLabel] = CreateDynamic3DTextLabel(msg, COLOR_WHITE, 0.0, 0.0, 0.10, 25.0, playerid, INVALID_VEHICLE_ID, 1, -1, -1, -1);
// this is how I create and attach Dynamic 3D Text labels to player who joined to server and logged to game
format(msg, sizeof(msg), " %d, %s", playerid, CharacterCache[CharacterUID(playerid)][cICName]);
CharacterCache[CharacterUID(playerid)][cNameLabel] = CreateDynamic3DTextLabel(msg, COLOR_WHITE, 0.0, 0.0, 0.15, 25.0, playerid, INVALID_VEHICLE_ID, 1, -1, -1, -1);
format(msg, sizeof(msg), " ");
CharacterCache[CharacterUID(playerid)][cUnderLabel] = CreateDynamic3DTextLabel(msg, COLOR_WHITE, 0.0, 0.0, 0.10, 25.0, playerid, INVALID_VEHICLE_ID, 1, -1, -1, -1);
// this is how I create and attach Dynamic 3D Text labels to player who joined to server and logged to game