烈焰OL添加VIP称号的方法
1,文件路径 ServerGameServerscriptsplayer.lua
2,用Nopead查找到这段
function onEnterGame2(event,player)--玩家每次登陆游戏触发
( Q* r# N# c# g+ P" 1 Z
local job = player:get_job();
local param252 = player:get_param(252);
local param258 = player:get_param(258);
local param265 = player:get_param(265);
player:set_param(296,0);
player:set_param(298,0);
player:set_name_pre(0,"");
player:set_name_pre(12,"");
3,在下面插入
格式 (按照格式复制10行因为VIP是1到10嘛)
if player:get_player_type() == 这个地方的数字是VIP等级
player:set_name_pre(9,"<font color='色值'>自己想改的字还可以加特殊符号哦</font>");
end
例子:
if player:get_player_type() == 10 then
player:set_name_pre(9,"<font color='#2828FF'>‖正一品‖领侍卫内大臣</font>")
end

- 上一篇文章:飘渺单机雪域服务端元宝充值教程
- 下一篇文章:天之炼狱归来服务端7.01架设教程问题解答
热门文章
热门标签