Raised This Month: $ Target: $400
 0% 

medkit 3.0


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
MaHu
Member
Join Date: Jun 2011
Location: Belarus
Old 06-05-2011 , 05:06   medkit 3.0
Reply With Quote #1

this plugin adds medkit to server
when you use it you give +50 health(cvar)
to use medkit you should buy medkit choose slot 5 and press attack button
medkit ups health +50
medkit costs 5000(cvar)
medkit has 3 models(w_,p_,v_) and sound
what new in 3.0?
1.You can drop medkit(when you die and when you use drop command)
2.added medkit icon
3.optimised code
screenshots:
v_model:
p_model:
w_model:
commands:
say(say_team) /medkit - buy medkit
amx_medkit <name> - give medkit
cvars:
medkit_hp how much health adds medkit(def.50)
medkit_cost how much medkit costs(def.5000)
Attached Files
File Type: sma Get Plugin or Get Source (medkit.sma - 2463 views - 7.0 KB)
File Type: zip medkit.zip (819.1 KB, 1486 views)

Last edited by MaHu; 12-07-2011 at 05:08. Reason: updated to 3.0
MaHu is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-05-2011 , 05:10   Re: medkit by MaHu
Reply With Quote #2

Removed .amxx file, you are not allowed to attach it and "Get plugin" link compile sma for you.

Fix includes + indentation first please.
Remove the test command "money".

Code is horrible, unapproved.
Don't release your first plugin.
If you have something clean to submit again, PM me or another approver.
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 06-05-2011 at 05:13.
ConnorMcLeod is offline
MaHu
Member
Join Date: Jun 2011
Location: Belarus
Old 06-05-2011 , 05:11   Re: medkit by MaHu
Reply With Quote #3

ok
MaHu is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-05-2011 , 05:19   Re: medkit by MaHu
Reply With Quote #4

If you have more questions regarding code you can ask here.
About needed includes and indentations, you have to find by yourself.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
MaHu
Member
Join Date: Jun 2011
Location: Belarus
Old 08-20-2011 , 16:24   MEDKIT 2.0
Reply With Quote #5

medkit plugin(v2.0)

cvars \ commands:

1.medkit_hp what adds health medkit (def.50)

2.medkit_cost how much kit (def.5000)

3.amx_medkit <nick> gives players a medkit (only for admins)

4.say / medkit & (say_team / medkit) to buy a first aid kit

description:

plug-in adds a first aid kit (as described above to buy)

with medkit health can be replenished by clicking on the attack.
Attached Files
File Type: sma Get Plugin or Get Source (medkit.sma - 1239 views - 4.3 KB)
File Type: zip medkit.zip (402.0 KB, 429 views)

Last edited by MaHu; 08-21-2011 at 02:10.
MaHu is offline
Old 08-20-2011, 16:49
Kiske
This message has been deleted by Kiske. Reason: ...
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-20-2011 , 17:23   Re: MEDKIT 2.0
Reply With Quote #6

Removed attachment. You are not allowed to upload compiled plugin.

Reattach your package without the AMXX file and attach the plugin source separately.
__________________
Arkshine is offline
r14170
Veteran Member
Join Date: Dec 2009
Old 08-21-2011 , 20:35   Re: MEDKIT 2.0
Reply With Quote #7

cool.
r14170 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-04-2011 , 09:49   Re: MEDKIT 2.0
Reply With Quote #8

Quite unreadable. I won't review it as it.

- Fix your indentation.
- Make some white-space. No need to glue all together.

Unapproved for now.
__________________
Arkshine is offline
MaHu
Member
Join Date: Jun 2011
Location: Belarus
Old 12-04-2011 , 11:37   Re: medkit by MaHu
Reply With Quote #9

okay
MaHu is offline
MaHu
Member
Join Date: Jun 2011
Location: Belarus
Old 12-05-2011 , 12:32   Re: medkit 3.0
Reply With Quote #10

updated to v3.0
MaHu 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 12:24.


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