13.01.2013, 01:27
So, I created a NPC "GOD" but his 3Dlabel is fucked up. I would like to know if there is a solution i'll show you in images here: You see that the label is all squished together, I would like to know how to make it so that it's clear when you are far away and you don't need to get all up in his ass..
Код:
if(IsPlayerNPC(playerid)) { SetPlayerColor(playerid, TRANSPARENT_WHITE); /*BusText = Create3DTextLabel("[NPC] Bus Driver", COLOR_YELLOW, 0, 0, -20, 25, -1, 1); Attach3DTextLabelToPlayer(BusText, playerid, 0, 0, 0.25);*/ BusText = CreateDynamic3DTextLabel("A-RP Administrator", COLOR_RED, 0, 0, -20, 25, playerid); BusText2 = CreateDynamic3DTextLabel("GOD", COLOR_WHITE, 0, 0, -20, 20, playerid); BusText3 = CreateDynamic3DTextLabel("Creator", COLOR_BLUE, 0, 0, -20, 15, playerid); Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL, BusText , E_STREAMER_ATTACH_OFFSET_Z, 0.25); Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL, BusText2 , E_STREAMER_ATTACH_OFFSET_Z, 0.20); Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL, BusText3 , E_STREAMER_ATTACH_OFFSET_Z, 0.15); return 1; }