SA-MP Forums Archive
Timer DestroyObject - 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: Timer DestroyObject (/showthread.php?tid=123272)



Timer DestroyObject - YossiBz - 25.01.2010

how i do timer for destroyobject?
i have 6 object and i want them gone
but on random



Re: Timer DestroyObject - FlatMaN - 25.01.2010

LoL


Re: Timer DestroyObject - YossiBz - 25.01.2010

its not random


Re: Timer DestroyObject - YossiBz - 25.01.2010

please help


Re: Timer DestroyObject - Celson - 25.01.2010

If you want something to be random, then use the random() function.

Here is a small example of using a random

pawn Код:
if(random(2)==1)
{
  print("Hey hey");
}
You can figure out the rest.


Re: Timer DestroyObject - YossiBz - 26.01.2010

how i do it?


Re: Timer DestroyObject - YossiBz - 30.01.2010

help!!


Re: Timer DestroyObject - xomka - 30.01.2010

do you want random object to be gone or ALL 6 objects disappear randomly?


Re: Timer DestroyObject - YossiBz - 01.02.2010

ALL 6 objects disappear randomly please