Hello, I am trying to replace a breakable box in a map (jb_oasis) with a unbreakable box. I researched and came up with this from xPaws Deathrun Map fixer. Now I do not know how to replace the entites. The breakable box model = "func_breakable" "*148".
I would be grateful if someone could help me! so What I need is to replace the breakable box with a non-breakable box.
PHP Code:
#include <amxmodx>
#include <engine>
#include <fakemeta>
public plugin_init( ) {
register_plugin( "Maps Fixer", "1.7", "xPaw" );
register_cvar( "deathrun_mapsfixer", "1.7", FCVAR_SERVER | FCVAR_SPONLY );
new szMapname[ 32 ];
get_mapname( szMapname, charsmax( szMapname ) );
if( equali( szMapname, "jb_oasis" ) )
FixMap_oasis( );
}
FixMap_oasis( ) {
}