01.03.2009, 17:16
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...
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...