View Single Post
  #6  
Old 06-08-2007, 03:23 AM
killerogue killerogue is offline
Registered Omega
killerogue's Avatar
Join Date: Apr 2006
Location: United States
Posts: 1,920
killerogue is on a distinguished road
Send a message via AIM to killerogue Send a message via MSN to killerogue
Sorry, I never clarified what I posted this for. I was calling a public function in a DB from a weapon, that places a class, once the class is created it's supposed to call a public function from the same DB. I tried to echo a variable through this manner but it didn't work. :O


Something like his for example:

PHP Code:
function onCreated() {
  
this.npcPlace putnpc2(3030"").join("mud_npc_genericenemytest");
  
with (this.npcPlace) {
    
this.eName "Shadow";
  }

PHP Code:
function onCreated() {
  
temp.file;
  echo (
this.eName);

isn't working.
__________________


REMEMBER, IF YOU REP ME, LEAVE A NAME!

Quote:
Originally Posted by haunter View Post
Graal admins don't die. They go to hell and regroup.
Quote:
Originally Posted by Inverness View Post
Without scripters, your graphics and levels wouldn't do anything but sit there and look pretty.
Reply With Quote