 |
|
Veteran Member
Join Date: Feb 2007
Location: Tennessee
|

10-14-2010
, 19:15
Re: SOLID_NOT for one player.
|
#4
|
Quote:
Originally Posted by Owner123
Hi.
How i can make entity to SOLID_NOT for one player? I know, i must use FM_AddToFullPack, try with some codes but i cant do this.
I try it:
PHP Code:
public fwAddToFullPack(es_handle, e, entity, host, hostflags, player, pSet)
{
if(host == entity)
return FMRES_IGNORED;
static szClassname[32];
pev(entity, pev_classname, szClassname, 31);
if(equal(szClassname, "my_classname" && is_user_connected(host) && is_user_alive(host) && get_user_flags(host) & ADMIN_LEVEL_H)
set_es(es_handle, ES_Solid, SOLID_NOT);
return FMRES_IGNORED;
}
But this don't work.
|
Make sure you are hooking it as Post.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw
I love you exolent!
|
|
|
|
|