okay i got the idea but what is in the server.cs?
This is an example.
For the weapon "Barrett M82" it goes like this..
This is the inside of server.cs
exec("./Weapon_BarrettM82.cs");
I'll break this down for you.
There is a file called Weapon_BarrettM82.cs which defines the model (it's the script!) and everything else with the weapon.
Server.cs tells your client to execute the weapon when the game detects the add-on.
"exec" is the command that executes it, and the "Weapon_BarrettM82.cs" is the file it's executing.