How do i get it to put in a random number everytime - 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 do i get it to put in a random number everytime (
/showthread.php?tid=126900)
How do i get it to put in a random number everytime -
Torran - 10.02.2010
Incase more than one person types this,
I want it to do this:
pawn Код:
ramp = CreateObject(playerid,x,y,z,0,0,0);
But instead of always naming it ramp, I want it to put a random number after it,
And then later, Destroys that object by getting the number, How would i do this?