View Single Post
  #7  
Old 11-25-2009, 02:46 AM
Switch Switch is offline
o.o
Switch's Avatar
Join Date: Jan 2007
Location: Philadelphia
Posts: 3,038
Switch has a spectacular aura about
Send a message via MSN to Switch
Quote:
Originally Posted by sssssssssss View Post
Removed that, and of coarse its still not working. I do need to use the dbnpc for this, because every guild will be able to upload a flag, and that is what Im trying to show up, so the image will be different depending on what guild you are in, being stored in the dbnpc. It also needs to find the dbnpc, which is why the this.db.whatever is in there, everything else searching through the dbnpc to pull up values works except this particular thing.

any ideas on how to fix?
PHP Code:
function onCreated() {
  
this.db findnpc("db_registeredguilds");
}

function 
onActionServerSide(actionacton) {
  if (
temp.action == "getImage"){
    
triggerclient("weapon"this.name"getFlag"this.db.guilds.(@player.guild).flag);
  }

If I'm not mistaken, a DBNPC doesn't read the player object, unless using findPlayer(), except in the Control-NPC.
__________________
Oh squiggly line in my eye fluid. I see you lurking there on the peripheral of my vision.
But when I try to look at you, you scurry away.
Are you shy, squiggly line?
Why only when I ignore you, do you return to the center of my eye?
Oh, squiggly line, it's alright, you are forgiven.
Reply With Quote