View Single Post
Author Message
NanoC
Veteran Member
Join Date: Jan 2016
Location: Argentina
Old 11-19-2018 , 22:22   [ZR/ANY] Very Important Person (VIP)
Reply With Quote #1

Very Important Person


Images of the plugin features
Spoiler


Description

I've made this plugin from a request from some Zombie Escape communities.
Basically, it choses a randomly human to make him VIP (after X seconds -using a cvar- or after the first infection), then if he dies or is infected, the round is over, slaying all the rest alive humans. This plugin has cvars, commands, admin commands, and beacons to identify the VIP.

WARNING! Tested in CS:S, but it should work on CS:GO. If it doesn't work on it, let me know.

CVars

zr_viptimer "time" (default 20): Time until a vip is chosen. Otherwise will be chosen after the fist infection
zr_vipenable "1/0" (default 1): Enable or disable the VIP function.


Client commands

sm_currentvip / !currentvip: Prints in the chat the name of the current VIP.

Admin commands

sm_vipmode / !vipmode: Same as the CVar zr_vipenable, admins with the ADMFLAG_BAN could use this command to turn on/off the plugin. Useful if some admins doesn't have the sm_cvar (h) flag to execute the cvar to enable it.


Installation

Just drag and drop the smx file into sourcemod/plugins.
Ideas are welcome

Thanks to the coders who have helped me

DOWNLOAD VIA GITHUB

Main page

Direct download
__________________

Last edited by NanoC; 12-08-2018 at 16:22.
NanoC is offline
Send a message via Skype™ to NanoC