这是我在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 那段怎样能写出右下角的烟雾弹图案?
因为出来的是子弹图案
找很久都找不到方法
麻烦大大解答