AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   fakemeta equivalent of entity_get_int? (https://forums.alliedmods.net/showthread.php?t=54793)

djmd378 05-04-2007 03:27

fakemeta equivalent of entity_get_int?
 
Does anyone know the fakemeta method of this?
Code:
if (entity_get_int(id, EV_INT_effects) & 8)


I don't want to include engine just to see if user has flashlight on.

pRED* 05-04-2007 03:29

Re: fakemeta equivalent of entity_get_int?
 
Code:
if (pev(id,pev_effects) & 8)

djmd378 05-04-2007 03:43

Re: fakemeta equivalent of entity_get_int?
 
Strange... I tried that before and it didn't work but it seems like it works now... probably did a typo on the first try.


Thanks.


All times are GMT -4. The time now is 06:35.

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