示例#1
0
def load():
    if extendedstats.addonIsLoaded('extendedevents'):
        extendedstats.registerMethod(packagename,'jumpdistance',jumpdistance)
        extendedstats.registerMethod(packagename,'longestjump',longestjump)
    extendedstats.registerMethod(packagename,'falldamage',falldamage)
示例#2
0
def load():
    extendedstats.registerMethod(packagename,'kdr',KDR)
    extendedstats.registerMethod(packagename,'kills',PureKills)
    extendedstats.registerMethod(packagename,'deaths',PureDeaths)
    extendedstats.registerMethod(packagename,'team_kdr',tKDR)
    extendedstats.registerMethod(packagename,'killsperminute',kpm)
    if extendedstats.addonIsLoaded('extendedevents') and extendedstats.game == 'cstrike':
        extendedstats.registerMethod(packagename,'money',money)
        extendedstats.registerMethod(packagename,'score',score)
    extendedstats.registerMethod(packagename,'damage',damage)