Code:
/***********************************************************************
* amx_te_model.sma version 2.3 December 29/2002-Jan 4 2002
* By: Eric Lidman Alias: Ludwig van [email protected]
* Upgrade: <http://lidmanmusic.com/cs/plugins.html >
*
* The stupidest plugin I ever wrote: Spray temporary models from your
* person. Basically lets you play with TE_MODEL from the HL_SDK and
* change a few parameters passed to it in-game. All parameters are
* optional, the default is one "tree" model for 20 seconds (=255)
* Have fun! Oh, yah, this is just the beginning, if you are computer
* savy, modify this plugin and add to it whatever you like.
*
* UPDATED!!! Now the spray goes on the direction of your aim.
* A big thanks to SpaceDude for coming up with code for that.
*
*
* Command:
*
* amx_te_model [<model type> <number to spray 1-500>
* <speed range -4000 to +4000> <duration 1-255>]
*
* Actual Usage:
*
* amx_te_model
* amx_te_model headcrab
* amx_te_model big_mom 50
* amx_te_model tree 10 -500
* amx_te_model gasbag 100 3000 255
*
* Models to choose from:
* random tree big_mom houndeye leech fungus headcrab zombie
* bigrat bullsquid gasbag hgibs friendly islave icky nihilanth
*
* chicken ---- cstrike only, all other mods default this name to tree
* girl --- optional, needs model put on server or it defaults to tree
*
* Issues: There is no stop command, but it will limit you to 500 models.
* Who needs one anyway, just be reasonable. If you have alot of models
* sprayed onto the map there is potential for client video lag. Tell em
* to upgrade! Even so, the models only last 20 seconds, so no big deal.
* Assuming everone's pak file is the same, there should be no issue with
* the server crashing on startup because it couldnt find a model. I
* mention this however because I already ran into it. My test server and
* my real server do not use the same pak file much to my surprise. But,
* this version works on both my servers and draws on the more common
* models so as to avoid this crash possiblilty.
*
*************************************************************************/
This is a pointless, but fun plugin by Ludwig van, all I did was fix it to make it work with AMXX. Basically it just shoots temporary models in the direction your aiming. Like I said, its pointless, but usually you'll get a few laughs from people in your server. The girl hostage model is also attached. Have fun!