AMX Mod X API Documentation

Signature
#define DMG_GENERIC 0 // Generic damage was done#define DMG_CRUSH (1<<0) // Crushed by falling or moving object#define DMG_BULLET (1<<1) // Shot#define DMG_SLASH (1<<2) // Cut, clawed, stabbed#define DMG_BURN (1<<3) // Heat burned#define DMG_FREEZE (1<<4) // Frozen#define DMG_FALL (1<<5) // Fell too far#define DMG_BLAST (1<<6) // Explosive blast damage#define DMG_CLUB (1<<7) // Crowbar, punch, headbutt#define DMG_SHOCK (1<<8) // Electric shock#define DMG_SONIC (1<<9) // Sound pulse shockwave#define DMG_ENERGYBEAM (1<<10) // Laser or other high energy beam#define DMG_NEVERGIB (1<<12) // With this bit OR'd in, no damage type will be able to gib victims upon death#define DMG_ALWAYSGIB (1<<13) // With this bit OR'd in, any damage type can be made to gib victims upon death.#define DMG_DROWN (1<<14) // Drowning#define DMG_PARALYZE (1<<15) // Slows affected creature down#define DMG_NERVEGAS (1<<16) // Nerve toxins, very bad#define DMG_POISON (1<<17) // Blood poisioning#define DMG_RADIATION (1<<18) // Radiation exposure#define DMG_DROWNRECOVER (1<<19) // Drowning recovery#define DMG_ACID (1<<20) // Toxic chemicals or acid burns#define DMG_SLOWBURN (1<<21) // In an oven#define DMG_SLOWFREEZE (1<<22) // In a subzero freezer#define DMG_MORTAR (1<<23) // Hit by air raid (done to distinguish grenade from mortar)#define DMG_GRENADE (1<<24) // Counter-Strike only - Hit by HE grenade#define DMG_TIMEBASED (~(0x3fff)) // Mask for time-based damage
Description

Instant damage values for use with the 3rd parameter of the "Damage" client

message.

Назад
Верх