SA-MP Forums Archive
formating a random 3d label - 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: formating a random 3d label (/showthread.php?tid=186612)



formating a random 3d label - WillyP - 30.10.2010

hey, can someone give me the code where it gets a random amount then formats it in a 3d label


thx


Re: formating a random 3d label - Miguel - 30.10.2010

pawn Код:
new string[12];
format(string, sizeof(string), "%d", random(number)); // change number by the max value
Create3DTextLabel(string, COLOR, x, y, z, draw_distance, virtual_world, testLOS); // you've gotta change these too



Re: formating a random 3d label - WillyP - 30.10.2010

thanks!

8char