Help please
#1

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
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);
When i use this part the samp-server.exe produce an error and close(the GM havent got any error)
Thanks
Reply
#2

actually its not that simple to make a text-draw... try to use this fs for it:
http://forum.sa-mp.com/index.php?topic=29132.0

this is not mine but i'm sure that it will help you alot.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)