tony486
|
分享:
▲
Level_Load(id) new name[32] g_trime[id] = false; g_bonus[id] = true; nameid[id] = get_user_name(id, name, sizeof name - 1) if( !zp_get_user_zombie(id) && is_user_alive(id)) { g_trime[id] = false; new n = 1; while( n != g_level[id] ) { h_health[id] = n * get_pcvar_num(g_h_health); h_speed[id] = n * get_pcvar_num(g_h_speed); h_damage[id] = n * get_pcvar_num(g_h_damage); z_health[id] = n * get_pcvar_num(g_z_health); z_damage[id] = n * get_pcvar_num(g_z_damage); n = n + 1; } new Float:speed[32]; speed[id] = fm_get_user_maxspeed(id) + h_speed[id]; fm_set_user_health( id, get_user_health(id) + h_health[id] ) set_pev(id, pev_maxspeed, speed[id] ) emit_sound(id, CHAN_STREAM, sound_health, 1.0, ATTN_NORM, 0, PITCH_HIGH )
我想改做丧尸升级就加最大血量
[ 此文章被tony486在2011-03-15 23:50重新编辑 ]
|