lvcp321 发表于 2006-9-21 20:19:54

开局前五名杀人奖励插件的BUG

用了效果还不错,就是还有一点BUG:当开局的时候,同时有两人或有两人以的被杀,就只能显示其中的一个,如果说要正确显示,就要把显示座标".....(...xxx.-1.0,0.80,2,0.3,6.0,0.03,2.0,153)"改成五个不一样的座标,不知对否?
还有就是如果说对话区的字要让所有的有都能看得见,又如何改?
请指教

pop781 发表于 2006-9-21 23:46:33

回复: 开局前五名杀人奖励插件的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)

lvcp321 发表于 2006-9-22 11:37:01

回复: 开局前五名杀人奖励插件的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)


不知对否?
如果说我要显示成红色或绿色,又该如何改?请指教!

pop781 发表于 2006-9-22 12:04:56

回复: 开局前五名杀人奖励插件的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

hqzycs 发表于 2006-9-22 12:15:51

回复: 开局前五名杀人奖励插件的BUG

汗啊::::burn:

lvcp321 发表于 2006-9-22 21:50:49

回复: 开局前五名杀人奖励插件的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)


不知对否?
请会的朋友帮我改一下

lvcp321 发表于 2006-10-14 09:11:41

回复: 开局前五名杀人奖励插件的BUG

请高手进来帮一下忙###################3

lvcp321 发表于 2006-10-16 18:37:40

回复: 开局前五名杀人奖励插件的BUG

高手进来呀//...............................
页: [1]
查看完整版本: 开局前五名杀人奖励插件的BUG