fwAddToFullPack
I want to set glow of ENT if is player turret (only for owner)
PHP Code:
What Am I doing wrong? I tested too with PHP Code:
//edit I tested too without if(player || ...) return.... |
Re: fwAddToFullPack
HOST is the player that the packet is being sent to.
ENT is the entity about which he is receiving the information. If you said you removed the "player || " check then the problem is because of IsEntityRanger, EV_INT_ranger_owner, or IsEntityPlayerTurret. Try "!IsEntityRanger(ENT) || entity_get_int(ENT, EV_INT_ranger_owner) != HOST" instead of "IsEntityRanger(ENT) && entity_get_int(ENT, EV_INT_ranger_owner) != HOST". And don't use the FMRES returns if you don't know what they do. Simply use "return" only. |
| All times are GMT -4. The time now is 20:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.