• Well this is odd.
    2 replies, posted
I call upon you face punch, once again. [lua] function SWEP:Holster() self:PrintMessage( HUD_PRINTTALK, "What is this i don't even..." ) end [/lua] [code] weapons\test\shared.lua:63: attempt to call method 'PrintMessage' (a nil value) [/code] Whats going on?
"self" refers to the weapon. If you want to access the owner, use "self.Owner".
[B]Danke Sir Nevec! [/B]
Sorry, you need to Log In to post a reply to this thread.