這是我在ZP4.3另加的購買煙霧彈:
else if (itemid == g_itemid3)
{
cs_get_user_bpammo(id, CSW_SMOKEGRENADE)
if (cs_get_user_bpammo(id, CSW_SMOKEGRENADE) < 1)
{
give_item(id, "weapon_smokegrenade")
}
else
{
cs_set_user_bpammo(id, CSW_SMOKEGRENADE, cs_get_user_bpammo(id, CSW_SMOKEGRENADE) + 1)
message_begin(MSG_ONE_UNRELIABLE, g_msgAmmoPickup, _, id)
write_byte(CSW_SMOKEGRENADE)
write_byte(1)
message_end()
emit_sound(id, CHAN_ITEM, "items/9mmclip1.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)
}
}
我想知道在 message_begin 那段怎樣能寫出右下角的煙霧彈圖案?
因為出來的是子彈圖案
找很久都找不到方法
麻煩大大解答