View Single Post
VEN
Veteran Member
Join Date: Jan 2005
Old 12-26-2005 , 07:43  
Reply With Quote #5

I wrote this script as an example for some guy.
It pretty simple and handy at the same time.
Code:
#include <amxmodx> public plugin_init() {     register_plugin("Knives Only [without weapons strip]", "0.1", "VEN")     register_event("CurWeapon", "event_knife_off", "be", "1=0", "2=29")     register_cvar("amx_knives_only", "1") } public event_knife_off(id) {     if (!get_cvar_num("amx_knives_only"))         return     engclient_cmd(id, "weapon_knife")     client_print(id, print_center, "Knives only mode is on. You can't swith your weapons!") }
VEN is offline