World Damage
Hi scripters.:oops:
I want to do so that does not damage anything except weapons (from falls from a height of up to flooding in the water, etc. (world damage). I tried to do differently, nothing came of it. Tests for DeathRun server, drop down (under the trap, the lethal zone) is still dying. How do I disable any damage, except for weapons? :3 :3 :3 |
Re: World Damage
Quote:
#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 */ /* time-based damage */ #define DMG_TIMEBASED (~(0x3fff)) /* mask for time-based damage */ /* TF Additions */ #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) */ |
Re: World Damage
Not Work!
|
Re: World Damage
PHP Code:
|
Re: World Damage
How can I leave this function when that was the weapon damage?
And then the shooting and no damage! |
| All times are GMT -4. The time now is 00:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.