[HELP] set3dtext command
#1

Hi
I need someone to help me out with making a textcommand , witch attach a 3d head text on player....


my current command:
Код HTML:
   new Text3D:label[MAX_PLAYERS];
    if(strcmp("/set3dtext", cmdtext, true) == 0)
    {
    label[playerid] = Create3DTextLabel("Blahblahblahblahblah!",0x008080FF,30.0,40.0,50.0,40.0,0);
    Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.7);
    return 1;
    }

    if(strcmp("/remove3dtext", cmdtext, true) == 0)
    {
    Delete3DTextLabel(label[playerid]);
    return 1;
    }
This command attach a 3d text "Blahblahblahblah" on player..
But i want that every player can create his own 3d text ingame
So the command should be like that
/Set3dtext [TEXT]

someone help me
Reply
#2

You have a variable that's named label already..
Reply
#3

thnx
but how do i make this command /Set3dtext [TEXT] ;(
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)