Quote:
Originally Posted by Inverness
When you do call a public function you have to put the weapon name before it, i'd like to be able to call it without using the weapon object:
addItem()
instead of:
weaponname.addItem()
|
Why? This obfuscates your code.
Quote:
Originally Posted by Inverness
I'd also like to be able to call functions clientside<->serverside. It would help greatly in my inventory system.
|
While I agree, I find that using triggers is more logical. Your scripts should be designed to do as little as possible between server and client to keep network usage down.