1.写一个随机VIP字体颜色的本地函数:

destiny_fnc_getRandomColor = {
	_color = "";
	for "_i" from 1 to 6 do {
		_color = _color + selectRandom ["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F1"];
	};
	_color;
};

2.定义一个本地函数,存在玩家本地,vip.paa就是显示的图片:

destiny_fnc_vipWelcome = {
	params["_textList"];
	_butText = "";
	_sbTextUp = "";
	_sbTextButt = "";
	_textList apply {
		_butText = _butText + format ["<t color='#%1'>%2</t>",call destiny_fnc_getRandomColor, _x];
		_sbTextUp = _sbTextUp + format ["<t color='#%1'>---</t>",call destiny_fnc_getRandomColor, _x];
		_sbTextButt = _sbTextButt + format ["<t color='#%1'>---</t>",call destiny_fnc_getRandomColor, _x];
	};
	[format ["%1<br/><img color='#%4' image='data\vip.paa'/>%2<br/>%3",_sbTextUp,_butText,_sbTextButt,call destiny_fnc_getRandomColor],-1,-0.35,4,1,0,789] call BIS_fnc_dynamicText;
};

3.由于splitString无法处理中文字符,所以只能这样,当玩家进服时,服务器上执行给所有玩家通知:

[["尊","贵","的",str(VIP等级),"级","VIP","玩","家",":",name 玩家对象," 来","到","了","自","由","都","市","!"]] remoteExec ["destiny_fnc_vipWelcome",-2];

4.可以自己去试试,效果看封面