View Single Post
Author Message
hook41
Junior Member
Join Date: Jan 2012
Old 02-20-2021 , 14:21   AddToFullPack set_es desnt update the state for clien
Reply With Quote #1

Hello, please help what i'm doing wrong, this should make the custom created ent SOLID_NOT for TERRORIST team players, yet it stais SOLID_BBOX

PHP Code:
public fw_AddToFullPack_Post(es_handleeenthostflagsplayerpSet) {
    if( 
host == ent || !pev_valid(ent) || !is_user_alive(host)){
        return 
FMRES_IGNORED;
    }
    new 
classname[32];
    
pev(entpev_classnameclassname32)
    if(
equal(classname"walkguardzone") && get_user_team(host) == 1){
        
set_es(es_handleES_SolidSOLID_NOT);
    }
    return 
FMRES_IGNORED;

sorry for my poor code and english, im a beginner
hook41 is offline