help with lotto text... - 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 with lotto text... (
/showthread.php?tid=67469)
help with lotto text... -
lukica - 01.03.2009
I made this command...
new string[256];
new Text:lotto739;
TextDrawUseBox(lotto739, 0);
TextDrawColor(lotto739, 0xAA3333AA);
TextDrawFont(lotto739,1);
TextDrawLetterSize(lotto739,0.3,1);
TextDrawSetOutline(lotto739,1);
if(HaveTicket739[playerid] == 1) {
format(string, sizeof(string), "Lotto 7/39 Ticket: Yes Your numbers: %d, %d, %d, %d, %d, %d, %d", PlayerNumber739[0][playerid],PlayerNumber739[1][playerid],PlayerNumber739[2][playerid],PlayerNumber739[3][playerid],PlayerNumber739[4][playerid],PlayerNumber739[5][playerid],PlayerNumber739[6][playerid]);
}else if(HaveTicket739[playerid] == 0) {
format(string, sizeof(string), "Lotto 7/39 Ticket: No /buylotto739"); }
TextDrawSetString(lotto739, string);
return 1;
How can I do to set text here...
http://slike.hr/vidi/samp02866.png
help please...
Re: help with lotto text... -
StrickenKid - 01.03.2009
put some "~n~"`s in, i think that might work. The "~n~" make a new line like when you press "enter" so it should.