well, all i ask is that how do i make a gamemode to spawn with a entity weapon the weapon's are WWII weapons and they are mg42,mp40,browning etc etc... the link for the download is here (just to be sure) [url]http://www.garrysmod.org/downloads/?tag=WWII[/url] (its the top 2 downloads) please tell me the lua code :3
The game mode im coding im using the , real css weapons addon, Thats in my addons folder, and i went in there, went into the lua folder, then the weapons folder, and then there is a folder for each weapon.
When creating ur game mode, in the main folder have a entities, folder, inside that have a weapons folder, then put all the weapons (via folders) you want in there, then it would be something like ;
ply:Give( "weapon_real_cs_desert_eagle" )
But just make sure you make it so when this is on a server, people download that addon by uploading the weapon pack and putting it in the right folder on the server.
wow thanks alot! you saved my server :D
Sorry, you need to Log In to post a reply to this thread.