Raised This Month: $ Target: $400
 0% 

Some question about Ham_Touch


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 05-04-2012 , 07:36   Re: Some question about Ham_Touch
Reply With Quote #4

Then yes, that will work.
The function should look like this:

PHP Code:
public fwd_Ham_Touch(ent,id//ent is grenade entity index, id is the index of the player
{
        
// Here you can check if id is a valid connected player and if he is in the air (~FL_ONGROUND).
        // If you want to work only for HE Grenades, then you should also add a check for ent's model.

__________________

Last edited by <VeCo>; 05-04-2012 at 07:37.
<VeCo> 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 00:26.


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