Plugin: AMX Monster (This is for MonsterMod)
Author: KRoT@L (Edit to AMXX by ^Bend3R)
Version: 0.3
EDIT: BUGS
Bullets go thru the monsters if you use amx_monstermodel.
===================
Commands:
amx_monster <name, #userid, authid, @TERRORIST, @CT, * (all)> <monster> <number>
monster: name of the monster you want to spawn (must be precached in the monster_precache.cfg file)
number: number of monsters you want to spawn
amx_findmonsters - displays in the console all the monsters which are on the map
amx_removemonsters <monster> <number>
name: name of the monster you want to remove (zombie, islave, agrunt...)
number: number of monsters you want to remove (type 0 to remove all the monsters with this name)
amx_monstermodel <model>
Changes the models of all the monsters alive.
model: path of the model without "models/" (droide.mdl, cow.mdl, ...)
You have to precache the models in the plugin_precache function (at the bottom of this file).
Use Half-Life models else monsters will be stuck in the ground.
Examples:
amx_monster joe snark 10
amx_monster @CT zombie 3
amx_removemonsters zombie 5
amx_monstermodel droide.mdl (droide.mdl is here: models/droide.mdl)
(You must have ADMIN_SLAY flag to use these commands you can change the access in here)
Quote:
register_concmd("amx_monster","admin_monster" ,ADMIN_SLAY,"<name/id/authid/@CT/@TERRORIST/ * (all)> <monster> <number>")
register_concmd("amx_findmonsters","find_mons ters", ADMIN_SLAY, "displays all the monsters")
register_concmd("amx_removemonsters","remove_ monsters", ADMIN_SLAY, "amx_removemonsters <name> <number (0 for all)>")
register_concmd("amx_monstermodel","monstermo del", ADMIN_SLAY, "<model>")
|
Note: This plugin is only tested with AMX Mod X v1.0 and AMX Mod X v1.1
And Require: MonsterMod