Help 3DTextLabel - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help 3DTextLabel (
/showthread.php?tid=133347)
Help 3DTextLabel -
Ro[X]y - 11.03.2010
I did this thing
Top:
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*
Re: Help 3DTextLabel -
aircombat - 11.03.2010
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);
Re: Help 3DTextLabel -
Jefff - 12.03.2010
Code:
new PlayerText3D:playertextid;
https://sampwiki.blast.hk/wiki/CreatePlayer3DTextLabel
Re: Help 3DTextLabel -
PotH3Ad - 12.03.2010
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);
Re: Help 3DTextLabel -
Ro[X]y - 12.03.2010
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
Re: Help 3DTextLabel -
sTRyDeR222 - 12.03.2010
I need this thing too please answer