Warning :
version older than 2.0 aren't supported anymore!
Lastest Version
2.01 ( 23.12.2008 )
- Fixed small bug with backpack ammo
- Added large and medium blast ring (nice effect ;])
- Added CVAR for version recognize
2.0 ( 22.12.2008 )
- Actuall version is 2.0, because i've totally cleaned up the code
- New weapon randomizing system
- Some new cool stuff
Screenshot
Description
This plugin allows admin add/remove/rotate/save presents on map (
ADMIN_KICK flag required).
When player touches present, he can earn money or receive primary/secondary weapon. Present is respawning at the same origins.
Credits
- Connor - for help with respawn part
- Alka - for entity rotate/add/remove/save code
- Avalanche - for blast, light effect and get color information from cvar
- Mercyllez - for weapon offsets, BackPack ammo checker and some stocks
Requirements- Required models & sound (attachment)
- Fakemeta module
Very Important!
- Create an folder called "presents" in addons/amxmodx/config/ directory, otherwise plugin won't be able to save presents origins!
- If you server has an FTP, make CHMOD 777 on "presents" folder in config directory, otherwise plugin won't be able to save presents origins!
- Plugin works on Counter Strike and Condition zero (thanks crazyeffect for test)
Notes
PHP Code:
new const model_present[][] = { "models/present/w_present.mdl","models/present/w_present2.mdl" }
new const sound_respawn[][] = { "present/respawn.wav", "present/respawn2.wav" }
new const sound_pick[][] = { "present/pick.wav" }
Here player can customize models and sounds.
Languages
- Polish (by me)
- Russian (thanks to xPaw)
- Nl (thanks to crazyeffect)
- English (by me)
- Fin (by SnoW)
- Espanol (benamo6)
- Brazil (wlacobain)
- Romanian (rekull)
Admin commands
- !add - adds a present at admin aim origin
- !remove - removes a present (admin must aim at present)
- !removeall - removes all presents from map
- !save - saves all present created on map
- !rotate - rotates a present (admin must aim at present)
Cvar's
- present_on - turn plugin on/off
- present_respawn_time - time between present disapear and respawn (must be float!)
- present_blast - turns blast on/off
- present_blast_color - color of the blast (default 255 255 255)
- present_money - amount of received money