3d Lable text
#1

How make playername on 3d lable text
Reply
#2

pawn Код:
//At the top of your script

new Text:mylabel;

//Under OnGameModeInIt

mylabel = Create3DTextLabel("Name",0x008080FF,30.0,40.0,50.0,40.0,0); //Creating the Label

//Where you wanna put it

new string[128],name[24]; //Creating the variables
GetPlayerName(playerid,name,24); //Getting the player's name
format(string,128,"%s",name); //Putting the name into a string
Update3DTextLabelText(mylabel, 0xFFFFFFFF, string); //Changing the text of the label
Reply
#3

And make that a label per player, or else everyone will be getting someone else's name
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)