Search for SEnt Tutorial

Hi.
I am searching for a short Tutorial which explains how to make a SEnt Weapon like the railguns of Spacebuild.
Would be nice if somebody has a link for me.

Greeting Obstsalat

a [S]cripted [E]ntity weapon?

You mean a SWep?

The Wiki has both of them.

If Im honest i dont know how it exactly is called.
I want to make a weapon for spacebuild for example. Which you can build in your ship.

It’s called a Scripted Entity, SENT for short.

There’s apparently two tutorials on the wiki: http://wiki.garrysmod.com/?title=Category:Lua:Articles:Scripted_Entities