
04-30-2007, 08:43 AM
|
|
[TServerDeveloper]
|
Join Date: Jun 2006
Posts: 448
|
|
|
Don't bite me.
Do this:
weapon.trigger("WeaponFired", params );
This'll trigger onWeaponFired, but if it doesn't exist, it doesn't do anything.
Another is to make onWeaponFired a public function and doing:
weapon.onWeaponFired(); |
|
|
|