I was wondering if if theres a way to make your own view look invisible. Meaning right now you dont see yourself as invisible when holding out your knife only others do. How can i make it so you see yourself invisible when holding knife out?
Here's what i have so far..
Code:
#include <amxmodx>
#include <fun>
#define PLUGIN "1K"
#define VERSION "1.0"
#define AUTHOR "BioI-Iazard"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR);
register_event("CurWeapon", "event_curweapon", "be", "1=1")
}
public event_curweapon(id) {
switch(read_data(2)) {
case CSW_KNIFE: {
set_hudmessage(200, 100, 0, -2.0, 0.37, 0, 6.0, 6.0, 0.5, 0.15, 4)
show_hudmessage(id,"Visibility 22%")
set_user_rendering(id,kRenderFxGlowShell,0,0,0,kRenderTransAlpha,75)
}
default: {
set_hudmessage(200, 100, 0, -2.0, 0.37, 0, 6.0, 99999.0, 0.5, 0.15, 4)
show_hudmessage(id,"Visibility 100%");
set_user_rendering(id);
}
}
return PLUGIN_HANDLED
}