Thread: Random
View Single Post
  #16  
Old 08-30-2006, 04:54 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
PHP Code:
function onCreated()
{
  
this.rnd=int(random(0,3));
  
it(this.rnd==0)
  {
    
setlevel2("levelname",x,y);
  }
  else if(
this.rnd==1)
  {
     
etc
  
}
  else
  {
     
etc
  
}

Use that as a base, learn how to do it with playertouchsme() (hint, you'll also need to use setshape because this is serverside).
Quote:
Originally Posted by Sum41Freeeeek
Is it a hobby to be a **** on this forum?
I bet the script will take 5 seconds to make.
About 7, yeah
Reply With Quote