複製程式
#include <amxmodx>
#include <fakemeta>
#include <cstrike>
#include <fun>
#include <hamsandwich>
#include <zombieplague>
#define is_valid_player(%1) (1 <= %1 <= 32)
new AK_V_MODEL[64] = "models/zombie_plague/v_golden_ak47.mdl"
new AK_P_MODEL[64] = "models/zombie_plague/p_golden_ak47.mdl"
new g_itemid1
g_itemid1 = zp_register_extra_item("Golden Ak 47", 50, ZP_TEAM_HUMAN)
}
public zp_extra_item_selected(player, itemid)
{
if (itemid == g_itemid1)
client_print(player, print_chat, "[ZP]獲得Golden Ak 47")
}
give_weapon_ak47(id)
stock give_weapon_ak47(id)
{
give_item(id, "weapon_ak47")
}
[/pre]
我只是新手,試試如何做,還想知在下場使用要如何