• Lua Help
    4 replies, posted
Hey, im new to this so if this isnt the place im sorry. But I just scripted my first swep, it will not show up in sandbox, can anyone tell me a specific file path I need to place my mod in, in order to spawn it in sandbox single player?
~/lua/weapons/. Type give weapon_whatever in console.
[QUOTE=code_gs;48100271]~/lua/weapons/. Type give weapon_whatever in console.[/QUOTE] Tried that, and got this, 'Attempted to create unknown entity type weapon_tutwep! NULL Ent in GiveNamedItem!" so my script must be Jank, thanks though! I'll work on it
Is it using a weapon base?
Is your weapons .lua file/folder called weapon_tutwep? If it's just called tutwep.lua you would have to type "give tutwep" into the console.
Sorry, you need to Log In to post a reply to this thread.