• I can't find what I am doing wrong.
    2 replies, posted
Fixed, thanks to Feihc, this can be closed.
If you are referencing the SWEP variable inside a SWEP function, you use self: So change the line in SWEP:Initialize() to self:CreateViewModels() Also I wouldn't bother splitting them into separate files - more trouble that what it's worth imo.
-snip- Thanks Feihc.
Sorry, you need to Log In to post a reply to this thread.