观众甲
|
分享:
▼
x0
|
[1.6][插件] 插件问题 -w-[500雅币]
new vaultkey[64], vaultdata[256] format(vaultkey, 63, "%s-lv", name) format(vaultdata, 255, "%i#%i#%i#%i", teo_lv[id], teo_xp[id], teo_points[id], teo_gash[id]) nvault_get(teo_vault, vaultkey, vaultdata, 255) replace_all(vaultdata, 255, "#", " ") if(nvault里有他的资料) { new level[32], xp[32], points[32], gash[32] parse(vaultdata, level, 31, xp, 31, points, 31, gash, 31) teo_lv[id] = str_to_num(level) teo_xp[id] = str_to_num(xp) teo_points[id] = str_to_num(points) teo_gash[id] = str_to_num(gash) bUserFound = true log_to_file(logfilename, "%s 进入伺服器,并从nvault成功取得资料") filewrite(id) }
这是我SMA的其中一段 请问if那里怎写
[ 此文章被上帝的右手^^在2012-12-05 12:24重新编辑 ]
|