View Single Post
  #9  
Old 04-25-2009, 05:42 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Well if the this.name isn't that same on the clientside you could store their .name in an attr and do..

PHP Code:
function onCreated() {
  
attr[3] = this.name;
}
//#CLIENTSIDE
function onDamageNPC(baddy) {
  
triggerserver("npc"baddy.attr[3], "damage"9999);

Of course you'll need some sort of targetting system to use the damage npc function.
__________________
Quote:
Reply With Quote