- 听众
- 收听
- 积分
- 296
- 主题
- 回帖
- 0
- 精华
注册时间2008-4-20
最后登录1970-1-1
该用户从未签到
|
发表于 2011-5-8 01:13:20
|
显示全部楼层
[ 本帖最后由 badmonkey 于 2011-5-8 01:17 编辑 ]
这不就是AMX JUMP Cup1.0 内的么?
详细见以下代码,对照看是不是一样? new menuBody[512]
new len = format(menuBody, 511, "\yCup admin menu\R^n\w^n" )
keys |= (1<<key)
key++
len += format( menuBody[len], 511-len, "%d. Start Climb Cup.^n\w", key )
keys |= (1<<key)
key++
len += format( menuBody[len], 511-len, "%d. Cup Time: %d:%02d min^n\w", key, (cup_time / 60), (cup_time % 60) )
keys |= (1<<key)
key++
len += format( menuBody[len], 511-len, "%d. Announc interval: %d sec^n\w", key, announc_interval )
keys |= (1<<key)
key++
len += format( menuBody[len], 511-len, "%d. Announc voice: %s^n\w", key, announc_voice == CUP_VOICE_FEMALE ? "Female" : "Male" )
keys |= (1<<key)
key++
len += format( menuBody[len], 511-len, "%d. Start Cup with restartround: %s^n\w", key, cup_rr_start ? "on" : "off" )
keys |= (1<<key)
key++
len += format( menuBody[len], 511-len, "%d. End Cup with restartround: %s^n\w", key, cup_rr_end ? "on" : "off" )
keys |= (1<<key)
key++
//len += format( menuBody[len], 511-len, "%d. Give Climers God-Mode on Start: %s^n\w", key, cup_god_mode ? "on" : "off" )
switch( cup_god_mode )
{
case 0: len += format( menuBody[len], 511-len, "%d. Give Climers God-Mode on Start: off^n\w", key )
case 1: len += format( menuBody[len], 511-len, "%d. Give Climers God-Mode on Start: on^n\w", key )
}
keys |= (1<<key)
key++
len += format( menuBody[len], 511-len, "%d. Erase finish locs^n\w", key )
|
|