View Single Post
Plugin Info:     Modification:          Category:         
metallicawOw
Veteran Member
Join Date: Jun 2009
Location: Anywhere
Old 10-24-2009 , 11:26   USP Reloaded v5.1 [Last Update: 31/10/09]
Reply With Quote #1

[IMG]http://img41.**************/img41/3553/uspr.jpg[/IMG]


[][][] Description [][][]

- This is my First Plugin!

- USPR (USP Reloaded) its based on a plugin that detects when a user wants to buy an usp, the plugin block the command and opens a new menu in which the user can buy two types of USPs, the "Normal USP" and the "Reloaded USP", the difference between one and other one is that with the "Reloaded USP" you will get GLOW gilded (optional with a cvar), more hp (controlled in one cvar), more damage (controlled in one cvar), models of usp of style v_ and p_ differents to those of the normal usp, and Effects/Sounds while shooting Enemys.

- The USPs cannot be bought if the user this one out of the zone of purchase or if this- one died.

- The USPs last until you die.

- The plugin also possesses(relies on) a file .cfg in which(whom) you can edit in a Simple form the cvars.

[][][] Includes [][][]


PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <hamsandwich>
#include <engine>
#include <fun> 
[][][] Cvars [][][]

Quote:
gc_uspr_enable 1 // Enable/Disable the plugin

gc_cost_normal_usp 800 // Normal USP Cost

gc_cost_uspr 5000 // Reloaded USP Cost

gc_uspr_glow 1 // Enable/Disable Reloaded USP PLAYER GLOW

gc_uspr_dmg_multiplied 6.0 // Reloaded USP DMG Multiplied

gc_uspr_player_hp 1 // Enable/Disable Reloaded USP MORE HP FOR PLAYER

gc_uspr_player_hp_amount 150 // Reloaded USP AMOUNT OF HP FOR PLAYER

gc_uspr_effects_enable 1 // Enable/Disable USPR Effects

gc_uspr_light_color 0 200 0 // Reloaded USP Light Color Effect
[][][] ChangeLog [][][]

Quote:
v1.0: Creation of the plugin [23/10/09]
v2.0: Removed Colorchat & Fakemeta [24/10/09]
v3.0: Fixed Some Bugs and added a new cvar tu customize the amount of hp the player have with the USPR [24/10/09]
v4.0: Added Some Effects and Sounds when you shoot whith the USPR [24/10/09]
v5.0: I improve the plugin integrating CallBacks for a better functioning and classification of the plugin [24/10/09]
v5.1: Changed a thing of Curweapon and added event round start for the information message [31/10/09]

[][][] Images [][][]
[][][] Thanks to [][][]

Quote:
- Asd' (For helping me to fix one problem with the takedamage)
- Larito (For helping me to fix other problem with the takedamage)
- GladiuS (For helping me with the colorchat stock)
I will not give more support to this plugin because to many personals problems

Thanks for the Help
Attached Files
File Type: cfg USPR.cfg (739 Bytes, 141 views)
File Type: sma Get Plugin or Get Source (USPRv51.sma - 706 views - 13.5 KB)
__________________


Last edited by metallicawOw; 11-23-2009 at 15:36.
metallicawOw is offline