引用 | 編輯
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 |