aimbot2.py 文件源码

python
阅读 29 收藏 0 点赞 0 评论 0

项目:piqueserver 作者: piqueserver 项目源码 文件源码
def hackinfo_player(player):
    info = "%s #%s (%s) has an accuracy of: " % (
        player.name, player.player_id, player.address[0])
    info += accuracy_player(player, False)
    ratio = player.ratio_kills / float(max(1, player.ratio_deaths))
    info += " Kill-death ratio of %.2f (%s kills, %s deaths)." % (
        ratio, player.ratio_kills, player.ratio_deaths)
    info += " %i kills in the last %i seconds." % (
        player.get_kill_count(), KILL_TIME)
    info += " %i headshot snaps in the last %i seconds." % (
        player.get_headshot_snap_count(), HEADSHOT_SNAP_TIME)
    return info
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号