View Single Post
  #1  
Old 02-24-2007, 05:32 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
Triggeraction Problems

I'm using a DB NPC, I need to trigger it from a class that the DB NPC is joined to.
The DB NPC's image is block.png

Here's the trigger (clientside)
PHP Code:
triggeractionthis.+.5this.+.5"BuyWep", [...] ); 
Here's the serverside onAction thing
PHP Code:
function onActionBuyWep( [...] )
{
  
player.chat "trigger2";
  [...]

What am I doing wrong?
__________________
Reply With Quote