PHP Code:
new Float:MinBox[3], Float:MaxBox[3]
new ent = create_entity("info_target")
entity_set_string(ent,EV_SZ_classname, megaclass)
entity_set_int(ent, EV_INT_solid, SOLID_BBOX)
entity_set_int(ent, EV_INT_movetype, MOVETYPE_FLY)
MinBox[0] = -3.0; MinBox[1] = -3.0; MinBox[2] = -3.0
MaxBox[0] = 3.0; MaxBox[1] = 3.0; MaxBox[2] = 3.0
entity_set_vector(ent, EV_VEC_mins, MinBox)
entity_set_vector(ent, EV_VEC_maxs, MaxBox)
entity_set_origin(ent, fOrigin)
entity_set_model(ent,T_MDL)
entity_set_int(ent, EV_INT_team, 1)
entity_set_float(ent,EV_FL_nextthink,halflife_time() + 1.0)
I still can walk thru it
func_breakable is not an option
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc