Problem whit 3d text
#1

Hello, can anyone tell me how to use more lines for this update? (Text is very higher .. and i want to put her in 2-3 lines) thanx

Код:
new string[256];
	format(string, sizeof(string), "{FFFF00}Getgift{FFFFFF}\nScrie {FFFF00}[/getgift]{FFFFFF}\nRobP Castigate: {FFFF00}%d{FFFFFF}\nBani Castigati: {FFFF00}%d${FFFFFF}RespectP Castigate: {FFFF00}%d{FFFFFF}\nFolosita de: {FFFF00}%d{FFFFFF} ori", GiftRob,GiftMoney,GiftRP,GiftFolosit);
	Update3DTextLabelText(getgift, 0xFFFFFFFF, string);
Reply
#2

Код:
new string[500], totalstr[900];

format(string, sizeof(string),"bla bla 1\n");
strcat(totalstr, string);

format(string, sizeof(string),"bla bla 2\n");
strcat(totalstr, string);

Update3DTextLabelText(getgift, 0xFFFFFFFF, totalstr);
Un-Tested.
Reply
#3

Thanx, now is working
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)