
Player arguments can be an integer userid, a string containing a value acceptable as a player argument to the server commands, or any object that can be iterated containing acceptable string or integer values. ezrestrict.unrestrict(-player or players-, -weapon or weapons-) ezrestrict.restrict(-player or players-, -weapon or weapons-) You may then use the following commands: ezrestrict = es.import_addon("ezrestrict") before your addon and your addon must contain the import line: In order to utilize the Python commands EZRestrict must be loaded In addition to server commands EZRestrict offers Python commands. This event also provides event_var(es_steamid), event_var(es_username), and all the other event_vars that accompany

event_var(weaponindex) - Index of the restricted weapon that was picked up (returns -1 if the weapon was removed) event_var(longname) - In-game name of the restricted weapon that was picked up event_var(weapon) - Restricted weapon that was picked up

event_var(userid) - Userid of the player who picked up the restricted weapon This addon creates the following event which can be utilized by other addons similar to standard events: *** The -index- argument accepts only an entity index number. Weapon names can also be preceded with "weapon_" c4 - C4 (Note that C4 is not included in the #all tag) For a complete list of tags available for every game see: In you can exclude # categories by replacing the "#" with a "!", ex: #rifle,!sniper *** The -weapon- argument accepts: weapon name / #all / #primary / #rifle / #shotgun / #smg / #sniper / #secondary / #pistol / #knife / #grenade Players will be prohibited from picking up a weapon if the weapon is restricted either to the player or the player's team. # arguments apply to members of the team. *** The -player/team- argument accepts: userid / player name / SteamID / #t / / #ct / / #all / arguments apply to teams directly. You can use these commands in an addon, with rcon, or directly on the server. *** Ensures the entity exists before removing it (removing a non-existent entity will crash the server) *** When used without arguments ezrestrict_removeidle removes all idle weapons (excluding the C4) The new server commands introduced by this addon are: 0 = no change, 1 = players receive a console message when they try to pick up a restricted weapon, 2 = players receive a chat area message when they try to pick up a restricted weapon 0 = no change, 1 = when a player picks up a weapon both teams are restricted from the weapon is removed Number of seconds a weapon will be unavaible for pickup after a restricted player attempts to pick the weapon up PLAYER restrictions must be set again for each map. PLEASE NOTE *PLAYER* restrictions only last until the end of the map. - THIS ADDON DOES NOTHING UNLESS PROMPTED. To configure language settings for EZRestrict please see ezrestrict_languages.ini Load this addon with: es_load ezrestrict addons/eventscripts/ezrestrict/ezrestrict.cfg Please run this if you are experiencing crashes: 0 = Disabled (1.0 is normal speed, 2.This addon requires es_fire to run: Total extra money given to the winner.

Use smart teleport system prior to knife fight.
#Addons eventscripts full#
Give players full health before knife fight.

Remove player connected when fight is started. Enable random kill after knife fight time end. Minimum number of players before knife fights will trigger. Dissolve loser body using special effects. Use locator beam between players if they are far apart. Force knife fight at end of round instead of prompting with menus. Players get slayed after this time limit expires. Number of seconds to allow for knifing. Sm/custom/knifefight_sounds/knifefight "knifefight/drowningpool.mp3,knifefight/dragula.mp3" (example: knifefight/song1.mp3,knifefight/song2.mp3,knifefight/song3.mp3) (max: 20) Songs to play during the fight, comma delimited. Sm_knifefight_declinesound "knifefight/chicken.wav" The sound to play when player declines to knife. Number of seconds to count down before a knife fight. Enable player blocking (disable sm_noblock) if sm_noblock is enabled while knife fight. The sound to play when beacon ring shows. This file was auto-generated by SourceMod (v1.5.0-dev+3841) I have a plugin that is sm_knifefight-1.3.8 and I cannot for the life of me and also with nfo tech support get the fight songs to work, but all the other sounds do ie.
