|
}
public show_status(id){
new name[32],pid = read_data(2)
get_user_name(pid,name,31)
if (!zp_get_user_zombie(pid) && !zp_get_user_zombie(id))
{
set_hudmessage(255,255,0,-1.0,0.60,0, 0.01, 3.0, 0.01, 0.01, -1)
show_hudmessage(id,"[%s] ^n生命: %d ^n護甲: %d ^n彈藥包: %d ^n殺害: %i ^n死亡: %i ",name,
get_user_health(pid),get_user_armor(pid),zp_get_user_ammo_packs(pid),get_user_frags(pid),get_user_deaths(pid))
}
if (zp_get_user_zombie(id) && zp_get_user_zombie(pid))
{
set_hudmessage(255,0,255,-1.0,0.60,0, 0.01, 3.0, 0.01, 0.01, -1)
show_hudmessage(id,"[%s] ^n生命: %d ^n彈藥包: %d ^n殺害: %i ^n死亡: %i ",name,
get_user_health(pid),zp_get_user_ammo_packs(pid),get_user_frags(pid),get_user_deaths(pid))
}
}
|
|