开局前五名杀人奖励插件的BUG
用了效果还不错,就是还有一点BUG:当开局的时候,同时有两人或有两人以的被杀,就只能显示其中的一个,如果说要正确显示,就要把显示座标".....(...xxx.-1.0,0.80,2,0.3,6.0,0.03,2.0,153)"改成五个不一样的座标,不知对否?还有就是如果说对话区的字要让所有的有都能看得见,又如何改?
请指教
回复: 开局前五名杀人奖励插件的BUG
显示座标?
set_hudmessage(random_num(0,255),random_num(0,255),random_num(0,255),-1.0,0.80,2,0.3,6.0,0.03,2.0,153)
-1.0 = x 轴 (浮点值 <= 1)
0.80 = y 轴(浮点值 <= 1 )
还有就是如果说对话区的字要让所有的有都能看得见,又如何改?
原:
message_begin(MSG_ONE,g_msgSayText, {0,0,0}, id)
改:
message_begin(MSG_ALL,g_msgSayText, {0,0,0}, id)
回复: 开局前五名杀人奖励插件的BUG
谢谢楼上的朋友!关于显示座标是不是就在原来的代码后面加上四个不同的显示座标?如下:
set_hudmessage(random_num(0,255),random_num(0,255),random_num(0,255),-1.0,0.80,2,0.3,6.0,0.03,2.0,153)
set_hudmessage(random_num(0,255),random_num(0,255),random_num(0,255),-1.0,0.70,2,0.3,6.0,0.03,2.0,153)
set_hudmessage(random_num(0,255),random_num(0,255),random_num(0,255),-1.0,0.60,2,0.3,6.0,0.03,2.0,153)
set_hudmessage(random_num(0,255),random_num(0,255),random_num(0,255),-1.0,0.50,2,0.3,6.0,0.03,2.0,153)
set_hudmessage(random_num(0,255),random_num(0,255),random_num(0,255),-1.0,0.40,2,0.3,6.0,0.03,2.0,153)
不知对否?
如果说我要显示成红色或绿色,又该如何改?请指教!
回复: 开局前五名杀人奖励插件的BUG
Post by lvcp321谢谢楼上的朋友!
关于显示座标是不是就在原来的代码后面加上四个不同的显示座标?如下:
set_hudmessage(random_num(0,255),random_num(0,255),random_num(0,255),-1.0,0.80,2,0.3,6.0,0.03,2.0,153)
set_hudmessage(random_num(0,255),random_num(0,255),random_num(0,255),-1.0,0.70,2,0.3,6.0,0.03,2.0,153)
set_hudmessage(r...
可以。
如果说我要显示成红色或绿色,又该如何改?
要学会搜索,,
版主有详细的解答
http://forum.dt-club.net/thread/71/30991/?highlight=set_hudmessage
回复: 开局前五名杀人奖励插件的BUG
汗啊::::burn:回复: 开局前五名杀人奖励插件的BUG
关于显示座标是不是就在原来的代码后面加上四个不同的显示座标?如下:set_hudmessage(random_num(0,255),random_num(0,255),random_num(0,255),-1.0,0.80,2,0.3,6.0,0.03,2.0,153)
set_hudmessage(random_num(0,255),random_num(0,255),random_num(0,255),-1.0,0.70,2,0.3,6.0,0.03,2.0,153)
set_hudmessage(random_num(0,255),random_num(0,255),random_num(0,255),-1.0,0.60,2,0.3,6.0,0.03,2.0,153)
set_hudmessage(random_num(0,255),random_num(0,255),random_num(0,255),-1.0,0.50,2,0.3,6.0,0.03,2.0,153)
set_hudmessage(random_num(0,255),random_num(0,255),random_num(0,255),-1.0,0.40,2,0.3,6.0,0.03,2.0,153)
不知对否?
请会的朋友帮我改一下
回复: 开局前五名杀人奖励插件的BUG
请高手进来帮一下忙###################3回复: 开局前五名杀人奖励插件的BUG
高手进来呀//...............................
页:
[1]