引用 | 编辑
chanpikmay20
2010-11-09 14:40 |
楼主
▼ |
||
x0
因为我开的是 捉迷藏我想修改 警察的移动速度 高少少 请问如何修改?! 需要插件吗 x0
|
引用 | 编辑
chanpikmay20
2010-11-10 22:00 |
2楼
▲ ▼ |
引用 | 编辑
volution
2011-02-06 12:43 |
6楼
▲ ▼ |
直接在控制台打
sv_airaccelerate 数字 这个值能影响空中移动速度除以地面移动速度的速度(就是空中速度) sv_maxspeed 数字 (最大速度)这个值能影响地面的移动速度 x0 |
引用 | 编辑
andyt0621
2011-02-06 14:35 |
7楼
▲ ▼ |
复制程式
#include <amxmodx> #include <cstrike> #include <fakemeta> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "123" new cvar_speed public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) cvar_speed = register_cvar("CT_speed", "你想的数值") register_forward(FM_PlayerPreThink, "fw_playerprethink") } public fw_playerprethink(id) { if (cs_get_user_team(id) == CS_TEAM_T) return FMRES_IGNORED; if (cs_get_user_team(id) == CS_TEAM_CT) { set_pev(id, pev_maxspeed, get_pcvar_float(cvar_speed)) } return FMRES_IGNORED; } 试看看吧 x0 |