View Single Post
  #3  
Old 05-17-2011, 09:34 PM
Mark Sir Link Mark Sir Link is offline
Kevin Azite
Mark Sir Link's Avatar
Join Date: Sep 2005
Posts: 1,489
Mark Sir Link is just really niceMark Sir Link is just really nice
Send a message via AIM to Mark Sir Link
whenever triggerserver is used, it always passed to the event

PHP Code:
onActionServerside(params
to write the triggerserver, you would use

PHP Code:
triggerserver("npc""TestNPC""test""foo"); 
after doing this, onActionServerside would be invoked in that NPC, with params[0] being "test", and params[1] being "foo".


If all this is already happening on the serverside instead of the clientside, as Seich said, you can directly access the function in the NPC itself as long as the function is defined as a public function
Reply With Quote