AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   entity_set_int to Fakemeta. (https://forums.alliedmods.net/showthread.php?t=83533)

xbatista 01-11-2009 07:56

entity_set_int to Fakemeta.
 
Ok I have this code :
PHP Code:

    new fhosr fm_find_ent_by_class( -1"func_hostage_rescue" )
    while(
fhosr g_maxplayers)
        {
        
entity_set_int(fhosrEV_INT_flagsFL_KILLME)
        
fhosr fm_find_ent_by_classfhosr"func_hostage_rescue" )
    } 

How to convert entity_set_int from engine to fakemeta? :mrgreen::

xPaw 01-11-2009 08:12

Re: entity_set_int to Fakemeta.
 
PHP Code:

set_pev(fhosrpev_flagsFL_KILLME); 

Quote:

entity_set_* == set_pev
entity_get_* == pev

EV_*_* = pev_*

xbatista 01-11-2009 08:18

Re: entity_set_int to Fakemeta.
 
WoW, thx.

Exolent[jNr] 01-11-2009 13:32

Re: entity_set_int to Fakemeta.
 
If you would have taken the time to search, you would have figured this out for yourself.
There are hundreds of Engine -> Fakemeta threads.


All times are GMT -4. The time now is 01:47.

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