Spawn a Minigun where ever you want, seems to work on all maps now!
The command is sm_minigunspawn, so you can easy spawn a minigun by entering /minigunspawnor !minigunspawn in chat.
Only works with realy clients not over rcon, and with the adminflag cheats.
Please Report Bugs
Commands:
sm_minigunspawn: Spawns a minigun and return its position (orgin), and entity ID. sm_minigunrotate: <Entity ID|-1|-2> <Degree>: Rotate a minigun by a defined Degree with its entity ID, or if -1 the minigun looking at, or if -2 the last minigun created sm_minigundelete <Entity ID|-1|-2>: Removes a mingun by its entity id, or if -1 the minigun looking at, or if -2 the last minigun created
Installation: Just copy the spawnminigun.smx in you plugins/ directory.
Cvars:
sm_spawnminigun_version = 1.0 the Spawn Minigun Version
Credits:
Fyren for helping me alot over irc
hlstriker for this code.
Frozenology for his "Direction" Code ednomerve for the bugfix
Changelog:
Code:
0.1 Initial Release
0.2
- Renamed sm_spawnminigun to sm_minigunspawn
- Fixed sm_minigunspawn direction bug
- Added sm_minigunlist, sm_minigunrotate, sm_minigundelet
0.3
-Added looking at minigun and last minigun created (-1,-2), as a option of sm_minigunrotate and sm_minigundelet
-Removed sm_minigunlist
1.0
-Hotfix for spawn Origin by ednomerve
1.1
-renamed sm_minigundelet to smminigundelete, thx mikeym9
Update:Sorry Could Not Get It Working Tried in chat with server set to sv cheats 1 !spawnminigun and spawnminigun and nothign happened can you shed some light is there something i am missing
Nice plugin, minigun works. The only problems right now are: Minigun can not be rotated to whatever direction you want, and the minigun is somewhat buried in the ground.
I tried to rotate the minigun with ent_rotate, but it still only let me use it from its default position. Seems like it only rotated the model image thing?.