[2.xx] Custom Global Pointers (The Easy Way)
If you add the ability to declare other data types (lweapon, ffc) at a global level, we could build our own quasi-objects, as custom pointers.
As an example, I was trying to declare lweapon Player at a global level, so that I could make a custom player object with a pointer that I could call from anywhere.
Is it possible to reference a pointer inside a script, from a global function in the same way that a script at local scope can call a function from elsewhere with :
Code:
scriptname:function()
?
I suppose not, because the pointer isn't valid until it's executed...so, right, a decent amount of global pointers would be very helpful.