Quote:
Originally Posted by amirwolf
Replace
PHP Code:
public hook_on( id )
{
if ( !(get_user_flags( id ) & ADMIN_LEVEL_H) && !IsBuildPhase( ) )
{
ColorMessage( id, "Only^3 VIP^1 can use hook after build phase." );
return PLUGIN_HANDLED;
}
if ( IsBuildPhase() || !has_flag( id, "t" ) && !IsBuildPhase())
{
get_user_origin( id, gHookOrigins[ id ], 3 );
g_bHook[ id ] = true;
set_task( 0.1, "hook_task", id, "", 0, "ab" );
hook_task( id );
}
return PLUGIN_HANDLED;
}
|
I dont want this i want VIP can use only during the build-time team ct and terrorist please
i have bb 5.4 when i add the plugin for test
Plugin "hookvip.amxx" failed to load: Plugin uses an unknown function (name "bb_is_build_phase") - check your modules.ini.
__________________