Raised This Month: $ Target: $400
 0% 

Entity's solid state


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 01-07-2014 , 12:55   Re: Entity's solid state
Reply With Quote #9

Quote:
Originally Posted by NiHiLaNTh View Post
AddToFullPack is for visual effects only, not physical.
Where did you get that?

Quote:
Originally Posted by SpeeDeeR View Post
I have tried FM_AddToFullPack and i doesn't seem to work or I'm doing something wrong. The ent is not SOLID_NOT at all. What are those plugins which you speak of; any link, title, author, anything at all...
Here is a plugin for testing purpose only thats not working as you mentioned using addtofullpack.

PHP Code:
#include <amxmodx>
#include <fakemeta>

public plugin_init() 
{
    
register_forward(FM_AddToFullPack"Fwd_AddToFullPack"1);
}

public 
Fwd_AddToFullPack(eseenthosthostflagsplayerpSet)
{
    static  
idbody;
    
get_user_aiming(hostidbody);
        
    if(
id == ent)
    {
        
set_es(esES_SolidSOLID_NOT);
    }

PHP Code:
public Fwd_AddToFullPack(eseenthosthostflagsplayerpSet)
{
    
// Host is the player who see/feel that effect what we are doing
    // Ent is entity(player in this case) we are going to mess with
    
    // first we make sure that ent is player
    
if( !is_user_connected(ent) ) return
    
    
// If host player is in same team as ent player
    
if( cs_get_user_team(host) == cs_get_user_team(ent) )
    {
        
// Make ent player not solid for her
        
set_es(esES_SolidSOLID_NOT);
    } 
try this
.Dare Devil. 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:27.


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