View Single Post
Author Message
xerox8521
Senior Member
Join Date: Sep 2011
Old 12-28-2012 , 19:59   [ZPS] Infection System [V1.4]
Reply With Quote #1

Description:

This Plugin allows Admins to infect or cure players in Zombie Panic Source

CVars:

sm_infection_system_version
- Plugin Version

Commands:

sm_infect <#userid|name> Time in Seconds. Example: sm_infect xerox 60 will turns me in 60 Seconds into a Zombie.

sm_cure <#userid|name> Cures a player from the Infection

sm_check <#userid|name> Checks wether or not a player is infected and how long it takes untill he turns

sm_infis Shows who is infected and when their are turning.

You need to have the Admin Flag n ( Cheats ) to use the commands



Installation:

Download the "infection_system.smx" and put into your "addons/sourcemod/plugins" folder.

Quote:
Changelog:

Version 1.4
- Updated to transitional syntax
- Added more validation checks for the commands
- Now using SetEntProp and GetEntProp instead of FindSendPropOffs

Version 1.3

- Added sm_infis Showing who is infected and when their turning

Version 1.2

- Fixed a bug where other players turn time shown on sm_check
- Turntime is now showing in seconds

Version 1.1

- Fixed sm_cure required 2 parameters
- Added sm_check see command description above

Version 1.0

- Initial release
Credits:

Will2Tango - For the sm_infis Idea
Sammy-ROCK - For the Variable names used in this Plugin
Joux - For alot Help
Attached Files
File Type: sp Get Plugin or Get Source (infection_systemv2.sp - 809 views - 3.0 KB)

Last edited by xerox8521; 02-12-2016 at 21:51.
xerox8521 is offline