Is there any way to prevent the weapons and c4 backpack to fall inside the walls?
Backpack sometimes get lost from radar even if it is still inside the playable area.
So I came up with this inside float_weapon(ent) yet:
PHP Code:
new model[32]
pev(ent, pev_model, model, charsmax(model))
if ( equali( model , "models/w_backpack.mdl" ) )
set_pev(ent,pev_movetype,MOVETYPE_TOSS)
else
set_pev(ent,pev_movetype,MOVETYPE_NOCLIP)
That causes it won't spin, but fly atleast.