Help about Attach CreateDynamic3DTextLabel to player !
#1

How to make CreateDynamic3DTextLabel attach to player's body ?
pawn Код:
Text3D:CreateDynamic3DTextLabel(const text[], color, Float:x, Float:y, Float:z, Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 0, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
Help me guys :)
Thanks :)
Reply
#2

There is "attachedplayer" parameter. Instead of INVALID_PLAYER_ID, set it to the player you want to attach the 3D label.
Reply
#3

contoh:
Код:
new Text3D :label = Create3DTextLabel ( "VenomMancer" , 0xFFFFFF, 30.0 , 40.0 , 50.0 , 40.0 , 0 ) ;
Attach3DTextLabelToPlayer ( label, playerid, 0.0 , 0.0 , 0.7 ) ;
parameter:
Код:
(Text3D:id, playerid, Float:OffsetX,
Float:OffsetY, Float:OffsetZ)
Reply
#4

example for this ?
pawn Код:
else if(Spree[playerid] == 6)
    {
        format(sprees, sizeof(sprees), "{FF0000}:: KILL INFO :: "kuning"%s[ID:%i] {808080}Mendapatkan "biru"+10score +$98.500 "putih"{00FF00}[Most Wanted]", pname,playerid);
        SendClientMessageToAll(-1, sprees);
        GameTextForPlayer(playerid, "~n~~n~~g~~h~~h~]Most wanted] ~n~~y~~h~+10score +$98.500", 5000, 3);
        SetPlayerScore(playerid, GetPlayerScore(playerid) + 10);
        GivePlayerCash(playerid, 98500);
        SetPlayerHealth(playerid,99.9);
        SetPlayerArmour(playerid,99.9);
        AccInfo[playerid][Mostwanted]++;
        SetPlayerWantedLevel(playerid, 6);

        MWTD = Create3DTextLabel("[Most Wanted]", 0x00FF00FF, 30.0, 40.0, 50.0, 40.0, 0);
        Attach3DTextLabelToPlayer(MWTD, playerid, 0.0, 0.0, -0.8);
    }
i am use Create3DTextLabel, can u make for me on CreateDynamic3DTextLabel ?
i mean replace to my script
Reply
#5

pawn Код:
CreateDynamic3DTextLabel("[Most Wanted]", 0x00FF00FF, 30.0, 40.0, 50.0, 40.0, playerid);
Reply
#6

I will testting now
Thanks for your help +1rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)