主要改的是以下內容
複製程式
enum
{
KILL_1 = 1,
KILL_2,
KILL_3,
KILL_4,
KILL_5,
KILL_6,
KILL_7,
KILL_8,
KILL_FIRST,
C4_DEFUSE,
C4_SET
}
enum
{
KILL_NONE = 51,
KILL_HEGRENADE,
KILL_HEADSHOT,
KILL_KNIFE,
KILL_LAST,
KILL_REVENGE,
WALLSHOT,
WALLSHOT_HEADSHOT,
ONESHOT_2KILL,
ONESHOT_3KILL
}
get_hud_data(idhud, type)
{
new value[64], sprname[33], sound[64], msgtext[32]
switch (idhud)
{
case KILL_1:
{
sprname = "kill_1"
sound = "vox/kill/%s/kill_1_%s"
msgtext = "1 KILL"
}
case KILL_2:
{
sprname = "kill_2"
sound = "vox/kill/%s/kill_2_%s"
msgtext = "2 KILL"
}
case KILL_3:
{
sprname = "kill_3"
sound = "vox/kill/%s/kill_3_%s"
msgtext = "3 KILL"
}
case KILL_4:
{
sprname = "kill_4"
sound = "vox/kill/%s/kill_4_%s"
msgtext = "4 KILL"
}
case KILL_5:
{
sprname = "kill_5"
sound = "vox/kill/%s/kill_5_%s"
msgtext = "5 KILL"
}
case KILL_6:
{
sprname = "kill_6"
sound = "vox/kill/%s/kill_6_%s"
msgtext = "6 KILL"
}
case KILL_7:
{
sprname = "kill_7"
sound = "vox/kill/%s/kill_7_%s"
msgtext = "7 KILL"
}
case KILL_8:
{
sprname = "kill_8"
sound = "vox/kill/%s/kill_8_%s"
msgtext = "8 KILL"
}
case KILL_FIRST:
{
sprname = "kill_first"
msgtext = "FIRST KILL"
}
case C4_DEFUSE:
{
sprname = "c4_defuse"
sound = "vox/kill/c4_defuse"
}
case C4_SET:
{
sprname = "c4_set"
sound = "vox/kill/c4_set"
}
case KILL_NONE:
{
sprname = "kill_none"
}
case KILL_HEGRENADE:
{
sprname = "kill_he"
sound = "vox/kill/%s/grenade_%s"
msgtext = "GRENADE KILL"
}
case KILL_HEADSHOT:
{
sprname = "kill_headshot"
sound = "vox/kill/%s/headshot_%s"
msgtext = "HEADSHOT"
}
case KILL_KNIFE:
{
sprname = "kill_knife"
sound = "vox/kill/%s/knife_%s"
msgtext = "KNIFE KILL"
}
case KILL_LAST:
{
sprname = "kill_last"
}
case KILL_REVENGE:
{
sprname = "kill_revenge"
sound = "vox/kill/%s/revenge_%s"
msgtext = "REVENGE"
}
case WALLSHOT:
{
sprname = "wall_shot"
msgtext = "WALLSHOOT"
}
case WALLSHOT_HEADSHOT:
{
sprname = "wall_shot_hs"
msgtext = "WALLSHOOT HEADSHOT"
}
case ONESHOT_2KILL:
{
sprname = "1shot_2kill"
msgtext = "ONE SHOT 2 KILL"
}
case ONESHOT_3KILL:
{
sprname = "1shot_3kill"
msgtext = "ONE SHOT MULTIKILL"
}
}
if (type==HUD_SOUND) format(value, charsmax(value), "%s", sound)
else if (type==HUD_MSGTEXT) format(value, charsmax(value), "%s", msgtext)
else if (type==HUD_SPRNAME) format(value, charsmax(value), "%s", sprname)
return value;
}
對了 你是要先改好內容再把內容給我嗎??
不然我先改了好像也沒用