Quote:
|
Originally Posted by Python523
NPC Code:
player.triggerclient(weaponname,actionname,params) ;
Is what I've been using, and it seems to work.
|
I'm assuming that if you don't use 'object type' for the first parameter, it functions like a normal triggeraction. If you fill in an object type, you will not be able to specify the 'actionname', it always sends actionClientside.
Quote:
|
Originally Posted by Warcaptain
its triggerclient("gui",weaponname,param1,param2);
|
Quote:
|
Originally Posted by Stefan
It's triggerclient(objecttype, name, params)
Currently only "weapon" works as objecttype, or "gui" which is the same.
|
According to Stefan, 'weapon' works aswell.