Raised This Month: $ Target: $400
 0% 

not working in game


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Mini_Midget
Veteran Member
Join Date: Jan 2006
Location: It's a mystery.
Old 06-01-2006 , 08:24   not working in game
Reply With Quote #1

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
__________________
It's a mystery.
Mini_Midget is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode