谁能帮我改这个源码的颜色
gettop5(){new pos = 0,name,stats,bodyhits
pos += format(g_Buffer,2047-pos,"Now Top5 are:")
new imax = get_statsnum()
if (imax > 5) imax = 5
for(new a = 0; a < imax; ++a){
get_stats(a, stats, bodyhits, name, 31)
pos += format(g_Buffer,2047-pos,"^n%d. %s",a+1,name )
}
}
public showRank(id)
if ( SpecRankInfo && g_specMode ){
new a = read_data(2)
if ( is_user_connected( a ) ){
//new name, data
//get_user_name( a ,name,31)
//new pos = get_user_stats( a ,data,data)
//set_hudmessage(255,255,255,0.02,0.85,2, 0.05, 0.1, 0.01, 3.0, 1)
//show_hudmessage(id,"%s's rank is %d of %d",name,pos,get_statsnum())
getspecstatus(a)
if ( ShowRatio ){
set_hudmessage( 80, 180, 50, 0.03, 0.31, 0, 6.0, 10.0, 0.1, 0.2, 2)
//set_hudmessage(random_num(0,255),random_num(0,255),random_num(0,255), 0.03, 0.31, 0, 6.0, 10.0, 0.1, 0.2, 2)
}else{
set_hudmessage( 85, 62, 210, 0.03, 0.50, 0, 6.0, 10.0, 0.1, 0.2, 2)
//set_hudmessage(random_num(0,255),random_num(0,255),random_num(0,255), 0.03, 0.50, 0, 6.0, 10.0, 0.1, 0.2, 2)
}
show_hudmessage(id,g_Buffer)
---------------------------------------------
帮我改成绿色。谢谢了~~~~~~~~~ set_hudmessage( 85, 62, 210,,这3个参数是颜色参数, 自己对照颜色代码表 hum颜色显示那段,对照颜色表,改成绿色 top5 ? 有完整的源码吗 同求啊!!!!!:Q:Q set_hudmessage( 85, 62, 210,,这3个参数是颜色参数, 免费给你上个
页:
[1]