The box or object you kan move is tied whit an ent(func_pushable)
we culd easly remove the hole move able object but dont know what to do if you want to keep it.
engine
Code:
* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <engine>
new P_move
public plugin_init() {
register_plugin("nomove", "0.1", "fxfighter")
P_move = register_cvar( "amxx_nomoveable", "1" )
nomove()
}
public nomove()
{
if(!get_pcvar_num(P_move))
{
return PLUGIN_HANDLED
}
new ent = -1
while((ent = find_ent_by_class(ent,"func_pushable")) != 0){
remove_entity(ent)
}
return PLUGIN_CONTINUE
}