Raised This Month: $12 Target: $400
 3% 

AddToFullPack set_es desnt update the state for clien


Post New Thread Reply   
 
Thread Tools Display Modes
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
hook41
Junior Member
Join Date: Jan 2012
Old 02-21-2021 , 02:30   Re: AddToFullPack set_es desnt update the state for clien
Reply With Quote #2

Sorry for useless topic, found solution here https://forums.alliedmods.net/showth...=AddToFullPack
hook41 is offline
Reply


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 02:10.


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