Addon Details

Watch - Add Favorite


7 out of 7 users claim this version works for them.
Does this version work for you?
13
w00ts
w00t!2

sm2es_keyPress - Version 1.00

posted on 2010-11-16 18:04:29
by sega74rus



Description

[i]replacement es_tools est_RegKeyExecute[/i] Attention! is a plug-in SourceMod you must install the SourceMod and Metamod:Source plugin generates events when the player presses a button, unlike the [url=http://developer.valvesoftware.com/wiki/Game_ui]Game_ui[/url] operates more stably Supported commands: [LIST] [*]IN_ATTACK [*]IN_ATTACK2 [*]IN_JUMP [*]IN_DUCK [*]IN_FORWARD [*]IN_BACK [*]IN_USE [*]IN_LEFT [*]IN_RIGHT [*]IN_MOVELEFT [*]IN_MOVERIGHT [*]IN_RELOAD [*]IN_SCORE [/LIST] example: [syntax="python"]#addons\eventscripts\bunny_script_detected\bunny_script_detected.py import es, gamethread def sm2es_keyPress(event_var): userid = event_var["userid"] command = event_var["command"] status = event_var["status"] if command in ('IN_LEFT','IN_RIGHT') and status == '1': es.msg('\3BunnyScript detected in \1%s'%es.getplayername(userid)) gamethread.delayed(1, es.server.cmd,'kickid %s BunnyScript detected'%userid) [/syntax]

Installation

unzip the file into your server. restart the server.

Version Notes For 1.00

Updated on: 2010-11-16 18:04:29 EST by sega74rus
release

( Previous Versions )

Request a new feature