SA-MP Forums Archive
Help please - 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 please (/showthread.php?tid=79929)



Help please - HuRRiCaNe - 31.05.2009

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


Re: Help please - silvan - 01.06.2009

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.