Hey I've had a little problem with my entity, I was just watching Hawks tutorial on entities
So I decided to try it out but for some reason my entity isn't solid
I've check the dump file of the model to make sure that the size is correct.
I've also asked in the thread but yeah someone said I had to make a movetype,
didn't work either
So please someone who can help me with this problem?
PHP Code:
public spawn_entity(id)
{
new Origin[3]
get_user_origin( id, Origin, 3 )
new Float:SpawnOrigin[3]
IVecFVec( Origin, Float:SpawnOrigin )
new Ent = create_entity( "info_target" )
entity_set_string( Ent,EV_SZ_classname,g_Classname )
entity_set_model( Ent,g_Model )
entity_set_int( Ent,EV_INT_solid,SOLID_BBOX )
entity_set_int( Ent,EV_INT_movetype,MOVETYPE_NONE )
entity_set_size( Ent,Float:{-43.7,-118.1,0.0},Float:{43.1,117.5,98.7} )
entity_set_edict( Ent,EV_ENT_owner,id )
entity_set_origin( Ent, SpawnOrigin )
}