Help 3DTextLabel
#1

I did this thing
Top:
Code:
new playertextid;
Middle:
Code:
format(string, sizeof(string),"PayCheck:[%d]",PlayerInfo[playerid][pPayDayPU]);
playertextid = CreatePlayer3DTextLabel(playerid,string,0x33CCFFAA,2316.1152,-14.1170,26.7422,40.0);
After few commands:
Code:
DeletePlayer3DTextLabel(playerid, playertextid);
I getting 2 errors on this two lines:
Code:
DeletePlayer3DTextLabel(playerid, playertextid);
playertextid = CreatePlayer3DTextLabel(playerid,string,0x33CCFFAA,2316.1152,-14.1170,26.7422,40.0);
Errors:
Tag Mismatch

What did I do worng?
*My first time with 3DTextLabel*
Reply
#2

i think that "playerid" should be removed here is 1 example of my 3d text label "not so pro with them"

Create3DTextLabel("Rank 1",COLOR,30.0,40.0,50.0,40.0,0);
Reply
#3

Code:
new PlayerText3D:playertextid;
https://sampwiki.blast.hk/wiki/CreatePlayer3DTextLabel
Reply
#4

Try this:

pawn Code:
new PlayerText3D:playertextid[MAX_PLAYERS];

format(string, sizeof(string),"PayCheck:[%d]",PlayerInfo[playerid][pPayDayPU]);
playertextid[playerid] = CreatePlayer3DTextLabel(playerid, string, 0x33CCFFAA,2316.1152,-14.1170,26.7422,40.0);

DeletePlayer3DTextLabel(playerid, playertextid[playerid]);
playertextid[playerid] = CreatePlayer3DTextLabel(playerid,string,0x33CCFFAA,2316.1152,-14.1170,26.7422,40.0);
Reply
#5

Oh... thank you, working..
I have one more problem, How can I get the ID of vehicle that near me without enter the car?
Like the Toolkit System.
Thanks
Reply
#6

I need this thing too please answer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)