![]() |
Показать все 2 сообщений этой темы на одной странице |
HLFX.Ru Forum (https://hlfx.ru/forum/index.php)
- Half-Life SDK (https://hlfx.ru/forum/forumdisplay.php?forumid=8)
-- AddToFullPack (https://hlfx.ru/forum/showthread.php?threadid=4092)
AddToFullPack
I can make invisible entity ONLY for the owner of this entity... but this code dont work...
Can help me ???
1 | int AddToFullPack( struct entity_state_s *state, int e, edict_t *ent, edict_t *host, int hostflags, int player, unsigned char *pSet ) |
2 | { |
3 | if( ent->v.owner != host->v.owner ) |
4 | { |
5 | if ( state->skin == 666 ) |
6 | { |
7 | state->effects |= EF_NODRAW; |
8 | } |
9 | } |
10 | } |
__________________
hl 4 ever
Just replace
state->effects |= EF_NODRAW; |
return 0; |
__________________
My Projects: download page
F.A.Q по XashNT
Блог разработчика в телеграме
C:\DOCUME~1\C4C5~1\LOCALS~1\Temp\a33328if(72) : see declaration of 'size_t'
Временная зона GMT. Текущее время 21:14. | Показать все 2 сообщений этой темы на одной странице |
На основе vBulletin версии 2.3.0
Авторское право © Jelsoft Enterprises Limited 2000 - 2002.
Дизайн и программирование: Crystice Softworks © 2005 - 2024