[HELP]How to Create Random Spawns?
#2

https://sampwiki.blast.hk/wiki/Random

pawn Код:
new a = random(3);
if(a == 0)
{
  //something
}
else if(a == 1)
{
  //something
}
Or better yet, use a switch
Reply


Messages In This Thread
[HELP]How to Create Random Spawns? - by Tigerbeast11 - 15.10.2009, 15:54
Re: [HELP]How to Create Random Spawns? - by dice7 - 15.10.2009, 17:21
Re: [HELP]How to Create Random Spawns? - by Kyeno - 03.02.2010, 06:23

Forum Jump:


Users browsing this thread: 2 Guest(s)