View Single Post
Plugin Info:     Modification:          Category:          Approver:   Hawk552 (427)
FakeNick
Senior Member
Join Date: Feb 2008
Location: Poland
Old 12-20-2008 , 11:53   Pick up present v2.01
Reply With Quote #1

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
Attached Files
File Type: sma Get Plugin or Get Source (present.sma - 5014 views - 24.7 KB)
File Type: txt present.txt (5.1 KB, 2245 views)
File Type: zip resources.zip (760.4 KB, 3314 views)
__________________


[||||||||||] Snowball war v3.05

Pol
ish translations here ;) (PM me if you want one).



Last edited by FakeNick; 12-27-2008 at 09:33. Reason: Update
FakeNick is offline