Related Plugins:About:
- Creates the Mustachio Stache Whacker game from Dark Carnival.
- Ability to receive the 'STACHE WHACKER' achievement for 'Proving you are faster than Moustachio. (Needs testing, it might work).
- Triggers a horde when completed.
- Maximum of 2 per map. Saved to l4d2_mustachio.cfg in your servers addonssourcemoddata folder.
- Uses 46 or more entities.
PHP Code:
sm_must // Spawns a Mustachio where your crosshair is pointing.
sm_mustachio // Same as above, but saves the origin and angle to the Mustachio spawns config.
sm_must_clear // Removes the Mustachio games from the current map only.
sm_must_del // Deletes the Mustachio you are pointing at and removes from the config if saved.
sm_must_list // Lists all the Mustachios on the current map and their locations.
sm_must_pos // Displays a menu to adjust the Mustachio angles/origin your crosshair is over. Turn the plugin off/on or reload to fix model positions.
sm_must_wipe // Removes all the Mustachios in game and deletes the current map from the config.
CVars:
Saved to l4d2_mustachio.cfg in your servers cfgsourcemod folder.
PHP Code:
// 0=Plugin off, 1=Plugin on.
l4d2_mustachio_allow "1"
// 0=Off. 1=Turns on the ability to receive the 'STACHE WHACKER' achievement for 'Proving you are faster than Moustachio'. (Needs testing, it might work).
l4d2_mustachio_event "0"
// Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
l4d2_mustachio_modes ""
// Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
l4d2_mustachio_modes_off ""
// Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
l4d2_mustachio_modes_tog "0"
// Mustachio plugin version.
l4d2_mustachio_version
Changes:
Code: 1.0 (29-Jul-2013)
- Initial release.
Compiling:
- Put the SDKHooks include into your addonssourcemodscriptinginclude folder.
- Put the plugins .sp file into your scripting folder and compile the plugin.
- This plugin requires the SDKHooks extension.
DO NOT click 'Get Plugin' or it will fail to compile because this plugin requires SDKHooks!
- Download the .smx file and put into your servers addonssourcemodplugins folder.


Wyświetl pełny artykuł