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(30, 30, "").join("mud_npc_genericenemytest");
with (this.npcPlace) {
this.eName = "Shadow";
}
}
PHP Code:
function onCreated() {
temp.file;
echo (this.eName);
}
isn't working.