| Mini_Midget |
06-01-2006 08:24 |
not working in game
this is just part of a mod i'm doing atm but i can't seem to make it
headshots only
Code:
register_cvar("amx_zbot_hs","1")
public headshot() {
if(get_cvar_num("amx_zbot_hs") == 1)
{
set_user_hitzones(0 ,0, 2)
client_print(0, print_chat, "[AMXX] Headshot only mode has been ^x04ENABLED")
}
else if(get_cvar_num("amx_zbot_hs") == 0)
{
set_user_hitzones(0, 0, 255)
client_print(0, print_chat, "[AMXX] Headshot only mode has been ^x04DISABLED")
}
return PLUGIN_HANDLED
}
i don't get any compile errors or such but in game, i can shoot the rest of the body and not just the head
yeah... i know i ain't the best scripter but getting there
|