• How can I fix this SWEP?
    4 replies, posted
[url]http://www.garrysmod.org/downloads/?a=view&id=88679[/url] Some days ago Gmod uptaded and started to play,I equipped the melongun as ever but,The gun looks like a normal magnum and doesn't have the melon in the cannon anymore,also I have skyblue or yellow messages of lua errors in the right side of my screen
Can you get a text copy/screenshot of the errors?
Here is a screenshot [img]http://img683.imageshack.us/img683/8263/errortr.png[/img]
Re-install the swep? If toybox, I don't know
[QUOTE=leonthefox;25051484]Here is a screenshot [img]http://img683.imageshack.us/img683/8263/errortr.png[/img][/QUOTE] Looks like the code just needs some minor re-arranging so that it doesn't try to use ClientsideModel in the two render functions. SWEP:InitializeCModels() and SWEP:InitializeWModels() should be called in SWEP:Initialize() instead of where they get called now.
Sorry, you need to Log In to post a reply to this thread.