31.05.2009, 21:34
I am making a Clan War Server and i got problems when i want to put the text draw with the clan names and the scores
When i use this part the samp-server.exe produce an error and close(the GM havent got any error)
Thanks
pawn Код:
new text[112];
format(text, sizeof(text),"%s ", T1,score1);
new text1[112];
format(text1, sizeof(text1),"%s ", T2,score2);
new points[112];
format(points, sizeof(points),"%d",sCount1);
new points1[112];
format(points1, sizeof(points1),"%d",sCount2);
Textdraw0 = TextDrawCreate(328.000000,16.000000,text);
Textdraw1 = TextDrawCreate(287.000000,53.000000,text1);
Textdraw2 = TextDrawCreate(454.000000,14.000000,puntos);
Textdraw3 = TextDrawCreate(453.000000,48.000000,puntos1);
TextDrawColor(Textdraw0,0xff0000cc);
TextDrawColor(Textdraw1,0x00ff0099);
TextDrawColor(Textdraw2,0xffffffff);
TextDrawColor(Textdraw3,0xffffffff);
Thanks