Allows admins to get/set the number of flag captures each team has. Also provides natives for plugins to get/set flag captures.
PHP Code: /** * Sets red team's number of flag captures. * * @return True on success, false if value is incorrect or unable to set. */native bool:SetFlagCaps_Red(numCaps);/** * Sets blue team's number of flag captures. * * @return True on success, false if value is incorrect or unable to set. */native bool:SetFlagCaps_Blue(numCaps);/** * Gets the number of flag captures red team has. * * @return Number of captures (int). */native GetFlagCaps_Red();/** * Gets the number of flag captures blue team has. * * @return Number of captures (int). */native GetFlagCaps_Blue();
/** * Sets red team's number of flag captures. * * @return True on success, false if value is incorrect or unable to set. */native bool:SetFlagCaps_Red(numCaps);/** * Sets blue team's number of flag captures. * * @return True on success, false if value is incorrect or unable to set. */native bool:SetFlagCaps_Blue(numCaps);/** * Gets the number of flag captures red team has. * * @return Number of captures (int). */native GetFlagCaps_Red();/** * Gets the number of flag captures blue team has. * * @return Number of captures (int). */native GetFlagCaps_Blue();
Total downloads as prior to last edit: 125 Not writing a plugin? Then you don't need the inc file!