// Done this hackish way to find all sh_is_vampire functions in plugins // If none are found error message can be printed out, and server op told plugin is useless new bool:foundFunction new numPlugins = get_pluginsnum() for ( new i = 0; i < numPlugins; i++ ) { ForwardCheck = CreateOneForward(i, "sh_is_vampire", FP_CELL) if ( ForwardCheck > 0 ) { VampForward[NumForwards] = ForwardCheck NumForwards++ foundFunction = true } } if ( !foundFunction ) debugMessage("Function sh_is_vampire not found! Blade will not work without a hero that contains the function.", 0, 0)//---------------------------------------------------------------------------------------------- new bool:isVamp for ( new i = 0; i < NumForwards; i++ ) { // Check other heroes to see if user has a vampire hero ExecuteForward(VampForward[i], isVamp, id) if ( isVamp ) break } return isVamp