SA-MP Forums Archive
How to change GameText to 3DLabel - 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: How to change GameText to 3DLabel (/showthread.php?tid=172305)



How to change GameText to 3DLabel - MartinDee - 29.08.2010

How to get this working with 3DTextLabel?

Код:
format( string, sizeof( string ), "~w~ Business ~p~ %d (%s) ~n~ ~w~ Owner: ~p~ %s.", h, Businesses[h][bName]);
GameTextForPlayer(i, string, 3500, 3);



Re: How to change GameText to 3DLabel - MartinDee - 29.08.2010

Nvm, just found out myself..

Код:
new BusinessLabel[MAX_BUSSINESES];

format(string,sizeof(string),"Business %d (%s) \n Owner: %s", h, Businesses[h][bName], Businesses[h][bOwner]);
BusinessLabel[h] = Create3DTextLabel(string ,0x00AAAAA, CORDx, CORDy, CORDz, 10, 0);
if anyone need, but not tested..


Re: How to change GameText to 3DLabel - iJumbo - 29.08.2010

you ahve to create a simple text draw then update it in a script with %s %d ...