Raised This Month: $ Target: $400
 0% 

No Headshot


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Debesėlis
Senior Member
Join Date: Aug 2008
Location: Lithuania
Old 06-10-2009 , 08:49   Re: No Headshot
Reply With Quote #5

Quote:
Originally Posted by Atspulgs View Post
heh i once did something similar only for a hero.
i did this
PHP Code:
/* Sets hit zones for player.
 * Parts of body are as bits:
 * 1   - generic
 * 2   - head
 * 4   - chest
 * 8   - stomach
 * 16  - left arm
 * 32  - right arm
 * 64  - left leg
 * 128 - right leg */
native set_user_hitzones(index 0target 0body 255);

/* Get user hitzones. */
native get_user_hitzones(indextarget); 
this you may found in fun.inc
those are syntaxes, and not my code (just to make clear)

PHP Code:
public hs(id)
{
    if(
headshot_active[id] == 1)
    {
         
native set_user_hitzones(index 0target 0body 255);
         
native get_user_hitzones(indextarget);

    }

as it should appear?
Debesėlis is offline
 



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 13:59.


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