How to change GameText to 3DLabel
#1

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);
Reply
#2

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..
Reply
#3

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


Forum Jump:


Users browsing this thread: 1 Guest(s)