//############################################# #################
// ENUM MAIN VALUE
//############################################# #################
// weapon type
enum
{
NST_WPN_RIFLES = 1,
NST_WPN_PISTOLS,
NST_WPN_KNIFE,
NST_WPN_HE
}
// menu type
enum
{
NST_MENUWPN_MAIN = 0,
NST_MENUWPN_SHOP,
NST_MENUWPN_MYWPN
}
// ini file
enum
{
NST_WPN_INI_READ = 0,
NST_WPN_INI_SAVE
}
// mod run
enum
{
NST_MOD_DEFAULT = 1,
NST_MOD_CSDM_SINGLE,
NST_MOD_CSDM_TEAM,
NST_MOD_ZB3,
NST_MOD_ZBU,
NST_MOD_ZBS,
NST_MOD_HMS,
NST_MOD_GHOST
}
// weapon anim
enum
{
NST_ANI_KNIFE_ATTACK,
NST_ANI_LIGHT_ATTACK,
NST_ANI_SHOTGUN_RELOAD,
NST_ANI_LAUNCHER_CHANGE,
NST_ANI_LAUNCHER_SHOOT,
NST_ANI_LAUNCHER_SHOOT_LAST,
NST_ANI_M134_FIRE_READY,
NST_ANI_M134_FIRE_AFTER,
NST_ANI_M134_IDLE_CHANGE,
NST_ANI_M134_FIRE_CHANGE,
NST_ANI_FASTRUN_BEGIN,
NST_ANI_FASTRUN_IDLE,
NST_ANI_FASTRUN_END,
NST_ANI_SIGHT_BEGIN,
NST_ANI_SIGHT_END
}
// data value
enum
{
NST_WPN_DATA_HASWEAPON = 1,
NST_WPN_DATA_KNOCKBACK,
NST_WPN_DATA_GRAVITY,
NST_WPN_DATA_FASTRUN,
NST_WPN_DATA_RELOAD,
NST_WPN_DATA_DEPLOY,
NST_WPN_DATA_DAMAGE,
NST_WPN_DATA_SPEED,
NST_WPN_DATA_RECOIL
}
// damage type
enum
{
NST_WPN_TYPEDAMAGE_NONE = 0,
NST_WPN_TYPEDAMAGE_NADE
}
//############################################# #################
// MAIN NATIVES
//############################################# #################
// Tra ve ID nhom cua vu khi
native nst_get_weapon_type(weapon_id)
// Bot co quyen su dung vu khi moi hay khong (1:co - 0:khong)
native nst_bot_use_weapons()
// vu khi ton tai tren mat dat bao lau
native nst_weapons_stay()
// Tra ve ID cua che do dang choi
native nst_get_mod_runing()
// Kiem tra xem co phai vi tri Mua vu khi hay khong (1 la dung - 0 la khong)
native nst_get_user_buyzone(id)
// show chat text
native nst_color_saytext(player, const message[], any:...)
// set money for user
native nst_set_user_money(id)
/**
* Called when a human attack zombie
*
* @param attacker Player index who was attack
* @param damage damage fire
*/
forward nst_zb_human_damage(attacker, damage, type)
/**
* Called when a player gets infected.
*
* @param id Player index who was infected.
* @param infector Player index who infected him (if applicable).
*/
forward nst_zb_user_infected(id, infector)
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1034\\ f0\\ fs16 \n\\ par }
*/