Hi.
PHP Code:
public remove_move()
{
new ent = 0
while(( ent = find_ent_by_class(-1, "func_door") ))
{
entity_set_int(ent, EV_INT_movetype, MOVETYPE_NONE)
}
}
This code is crashing server. So how to change movetype to none ? I also tried to set entity speed to 0, and movedir to {0.0, 0.0, 0.0}, but server still crashing.
So how prevent these entity from move?
__________________