Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include < amxmodx > #include < engine > const FM_NULLENT = -1; public plugin_init( ) { register_plugin( "BuyZone Remover", "1.0", "xPaw" ); new iEntity = FM_NULLENT; while( ( iEntity = find_ent_by_class( iEntity, "func_buyzone" ) ) > 0 ) if( entity_get_int( iEntity, EV_INT_iuser1 ) != 1337 ) remove_entity( iEntity ); } public plugin_precache( ) { new iEntity = create_entity( "func_buyzone" ); if( iEntity ) { entity_set_size( iEntity, Float:{ -4096.0, -4096.0, -4096.0 }, Float:{ -4095.0, -4095.0, -4095.0 } ); entity_set_int( iEntity, EV_INT_iuser1, 1337 ); } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement