Quote:
Originally Posted by _lol_
well, i only want to know which is the better and appropriate
|
None.
Set a thinking entity with a custom class name, using engine:
PHP Code:
new Float:handlerThinkDelay = 2.0
new handlerClassName[] = "someName";
register_think(handlerClassName,"handlerThink");
new handlerEntity = create_entity("info_target")
entity_set_string(sprite,EV_SZ_classname,handlerClassName);
entity_set_float(sprite,EV_FL_nextthink, get_gametime() + handlerThinkDelay);
public handlerThink(id)
{
entity_set_float(sprite,EV_FL_nextthink, get_gametime() + handlerThinkDelay);
}
I don't know, and I can't prove it but, i think it's better than using a fakemeta approach but, you can use also FM_Think.
Edit:
Be aware that it depends on each case. Tell the exactly situation since probably it can be found a better way to handle it.
__________________