Raised This Month: $ Target: $400
 0% 

Health Package


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Bence98007
Member
Join Date: Jun 2012
Old 09-10-2012 , 08:57   Health Package
Reply With Quote #1



Description:

This plugin allows the players to buy hp.

Cvars:

hp_cost // Health Package cost. Default: 900
hp_health // How many HP can player buy? Default: 20
hp_on // Plugin ON/OFF (ON=1 OFF=0) Default: 1
hp_onlyadmin // Only for admins? (YES=1 NO=0) Default: 0
hp_adminlevel // Admin level Default: ADMIN_KICK
hp_prefix // Chat messages prefix Default: [HP]

Commands:

say /buyhp
say /medic
say /md

This commands also works in team-chat!

I hope you enjoy it.

Srry for my bad english.
Attached Files
File Type: txt healthpackage.txt (477 Bytes, 167 views)
File Type: sma Get Plugin or Get Source (healthpackage.sma - 739 views - 2.8 KB)

Last edited by Bence98007; 09-10-2012 at 10:34.
Bence98007 is offline
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 09-10-2012 , 09:57   Re: Health Package
Reply With Quote #2

Unapproved, already have 100 similar plugin!


DONT UPLOAD AMXX FILES!
__________________

Last edited by kiki33hun; 09-10-2012 at 09:57.
kiki33hun is offline
Bence98007
Member
Join Date: Jun 2012
Old 09-10-2012 , 10:33   Re: Health Package
Reply With Quote #3

Okay, i fix it.


Szopj le kiki!
Bence98007 is offline
AmineKyo
فوق سريرك
Join Date: Oct 2011
Location: Morocco
Old 09-10-2012 , 11:03   Re: Health Package
Reply With Quote #4

Quote:
Originally Posted by kiki33hun View Post
Unapproved
lol...
__________________
AmineKyo is offline
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 09-12-2012 , 06:58   Re: Health Package
Reply With Quote #5

In fact,you can go to the trash!

Fun:
Code:
register_cvar("hp_adminlevel", "ADMIN_KICK")    // Admin level new adminlevel = get_cvar_num("hp_adminlevel")

This is number? (Yes, the definition ADMIN_KICK number, but it is given a constant value!)

and this:
Code:
register_cvar("hp_prefix", "[HP]")    // Chat messages prefix new prefix = get_cvar_num("hp_prefix")
__________________
kiki33hun is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-12-2012 , 07:46   Re: Health Package
Reply With Quote #6

Very poorly coded, redundant. Unapproved.
__________________
Arkshine is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode