Author
|
Message
|
Member
|
03-08-2009
, 13:12
[L4D] Spawn Minigun
|
#1
|
[L4D] Spawn Minigun
Version 1.0
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
Last edited by antihacker; 06-08-2009 at 09:42.
|
|
|
|