Quote:
Originally Posted by Str4x3D1x
Works well, but even tho i've got a level i still cannot use knife for that level :S
Help ?
EDIT: HUD shows only when someone dies (no matter if it's me or someone) it should be on spawn, also typing kill in console still gives 100 XP for free :/
|
that for kill in console:
Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <fakemeta_util>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_forward( FM_ClientKill, "CKill" );
}
public CKill( Index ) return FMRES_SUPERCEDE;
for your level knives:
Code:
public Call(id)
{
new menu = menu_create("\w[\rSleepless\w] \ySelect between \rknife packs \yyou want to use.", "Follow")
menu_additem(menu, "Free Knives Pack")
menu_additem(menu, "\yVIP Knives Pack \w[\r2x Boost\w]")
menu_additem(menu, "Admin Knives Pack [\rForum\w]")
menu_additem(menu, "\yTron Knives Pack \w[\r1x Boost\w]")
menu_additem(menu, "\yZixon Knives Pack \w[\r2x Boost\w]")
menu_display(id, menu)
return PLUGIN_HANDLED
}
where is the case of player level = knife? you must check i see only admin/vip/free/and another