View Single Post
  #39  
Old 01-07-2008, 11:48 PM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
Quote:
Originally Posted by Knightmare1 View Post
PHP Code:
function onCreated()
{

  
setImgthis.img );
  
setShape116*216*);
  
this.spawnpoints={{ 1,},{ 8,},{ 9,},{ 12,62 },{ 12,},{ 15,73 },{ 51,52 }}; 
  
this.random=int(random(0,this.spawnpoints.size()+1));

}

function 
onActionGrabbed()
{

  
findPlayerparams0] ).addWeaponthis.weapon );
  
hide;
  
sleep(540);
  
warpto("final_gmap.gmap",this.spawnpoints[this.random][0],this.spawnpoints[this.random][1]);
  
show;

so this?
uh well, either its an npc(warpto()) or its a weapon( addWeapon( this.weapon ) ); or what you set @ this.weapon? xD
__________________
Reply With Quote