View Single Post
  #5  
Old 06-15-2006, 05:08 PM
Bl0nkt Bl0nkt is offline
Era Developer
Bl0nkt's Avatar
Join Date: Mar 2005
Location: Pennsylvania
Posts: 1,589
Bl0nkt will become famous soon enough
Send a message via AIM to Bl0nkt
Quote:
Originally Posted by Python523
NPC Code:
player.triggerclient(weaponname,actionname,params)  ;


Is what I've been using, and it seems to work.
Let me use an example from this.

NPC Code:
function onCreated()
{
player.triggerclient("Weapon", "Recieve", 1, 2, 3);
}
//#CLIENTSIDE
function onActionRecieve()
{
player.chat = "recieved";
}



Would this be correct?
Reply With Quote