SA-MP Forums Archive
How to fix this? - 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: How to fix this? (/showthread.php?tid=179305)



How to fix this? - [Ha]Lommo - 26.09.2010

pawn Код:
Textdraw0 = TextDrawCreate(521.000000, 321.000000, ".. score:%d",sCount2);
How to make this work? i want that the score count automatic shows up in the textdraw..

Thanks.


Re: How to fix this? - iJumbo - 26.09.2010

use for new
use timer
use a function
add me in msn xD pyrokar@libero.it


Re: How to fix this? - [Ha]Lommo - 26.09.2010

i already have a function so it counts the score but it just doesnt shows up.

This is my warning: Number of arguments doesn't match definition.


Re: How to fix this? - [XST]O_x - 26.09.2010

pawn Код:
Textdraw0 = TextDrawCreate(521.000000, 321.000000, ".. score: ");

new string[10];
format(string,sizeof(string),"..score: %d",sCount2);
TextDrawSetString(Textdraw0,string);



Re: How to fix this? - [Ha]Lommo - 26.09.2010

Then it shows nothing after "score:" ..