[ZP] Addon: Death Sprite[v1.4]
10 Attachment(s)
Description
Simple plugin. When a valid victim dies, a sprite will show on his death location. Message will be shown(Customizable) Key features - Useful CVars - Simple config(.cfg) file - Bug-free - No hardcoded paths - Multiple sprites - Random sprites or specified sprites via CVars CVars Code:
// [Toggle On/Off]1. At line 5~9, you should see this PHP Code:
Multiple sprite support Change PHP Code:
PHP Code:
PHP Code:
It will show you how zp_death_sprite_play works. Ignore it if you wish to use it as random. Version history PHP Code:
Post it! If you've a run time error, please debug it and post it WITH debug. Bugs posted WITHOUT debug will be ignored. Suggestions are welcomed. Installation 1. Put 93skull1.spr into cstrike/sprites 2. Put .amxx to plugins folder OR compile it locally 3. Add plugin name WITH .amxx into plugins-zplague.ini 4. Put DeathSprite.cfg into your configs folder I want it for other mods! It is works for other mods. It only requires AMXModX. Only zombies version (Requested by Dolph_Ziggler) CLICK HERE Note: - Why it doesn't show the sprite when it's enabled? Answer: Check CVar zp_death_sprite_play and MAX_SPRITES. It MUST NOT be lesser than 0 and more than the value MAX_SPRITES is assigned to. Credits georgik57 - Better quality skull sprite abdul_rehman - Optimizations |
Re: [ZP] Addon: Death Sprite[v1.0]
http://forums.alliedmods.net/showthr...53#post1283853
also add delay for this, so it will appear x seconds after the death msg with float pls thanks |
Re: [ZP] Addon: Death Sprite[v1.0]
GJ!)
|
Re: [ZP] Addon: Death Sprite[v1.1]
Plugin updated. Please use the new one. Remember to redownload the sprites as new sprite(The design is still the same but it has better quality)
Sprites credit to georgik57. New CVar has been added by request. If someone has a suitable sound effect for that. I would be greatly appreciated. |
Re: [ZP] Addon: Death Sprite[v1.1a]
some screenshot please :)
|
Re: [ZP] Addon: Death Sprite[v1.1a]
Doesn't need screen shots :|. Just use SPRView and view the sprite.
|
Re: [ZP] Addon: Death Sprite[v1.1a]
thanks for adding my req
this pwns now |
Re: [ZP] Addon: Death Sprite[v1.2]
BUMPPPIIEEE
PHP Code:
|
Re: [ZP] Addon: Death Sprite[v1.2]
HY man i read youre plugin and found some effeciency tricks which you can implement
1- I think caching cvars is not a good idea for this one bcoz death event is not called every 0.01 seconds or some thing as low 2- U should use static variables since they are more faster 3- U should cache is_user_connected instead since it is more effecient Code:
Code:
4- You can simple use this: Code:
|
Re: [ZP] Addon: Death Sprite[v1.2]
screenshots please.
|
| All times are GMT -4. The time now is 15:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.