Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-26-2007, 01:46 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
PHP Code:
function onCreated()
{
  
this.wep "Weapons/Total Ownage";
}
function 
onPlayerTouchsMe()
{
  if ( 
getVar() == NULL )
  {
    
addWeaponthis.wep );
    
clientr.( @ "chest_" this.level.name "_" @  this.level."_" this.level.y) = this.wep
  }
}
function 
getVar()
{
  return 
clientr.( @ "chest_" this.level.name "_" @  this.level."_" this.level.y);
}
//#CLIENTSIDE
function onCreated()
{
  
show();
  
onTimeOut();
}
function 
onTimeOut()
{
  if ( 
getVar() != NULL )
  {
    
hide();
  }
  
setTimer);
}
function 
getVar()
{
  return 
clientr.( @ "chest_" this.level.name "_" @  this.level."_" this.level.y);

[EDIT]I didn't even realize there was a second page to this thread ... Hehe, sorry.[/EDIT]
__________________
Reply With Quote
  #2  
Old 05-26-2007, 04:24 PM
Deadly_Killer Deadly_Killer is offline
Registered User
Join Date: Feb 2002
Posts: 227
Deadly_Killer is on a distinguished road
Quote:
Originally Posted by cbkbud View Post
PHP Code:
function onCreated()
{
  
this.wep "Weapons/Total Ownage";
}
function 
onPlayerTouchsMe()
{
  if ( 
getVar() == NULL )
  {
    
addWeaponthis.wep );
    
clientr.( @ "chest_" this.level.name "_" @  this.level."_" this.level.y) = this.wep
  }
}
function 
getVar()
{
  return 
clientr.( @ "chest_" this.level.name "_" @  this.level."_" this.level.y);
}
//#CLIENTSIDE
function onCreated()
{
  
show();
  
onTimeOut();
}
function 
onTimeOut()
{
  if ( 
getVar() != NULL )
  {
    
hide();
  }
  
setTimer);
}
function 
getVar()
{
  return 
clientr.( @ "chest_" this.level.name "_" @  this.level."_" this.level.y);

[EDIT]I didn't even realize there was a second page to this thread ... Hehe, sorry.[/EDIT]
And then I had 5000 chests around the OW.. oh snap, 5k flags...

I didn't want to do that.
__________________
- Zidane / Zidaya
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:39 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.