Raised This Month: $100 Target: $400
 25% 

SlapMod


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   Brad (55)
MercenaryDan
Junior Member
Join Date: May 2006
Location: Houston, TX
Old 05-06-2006 , 15:57   SlapMod
Reply With Quote #1

SlapMod

This is my first plugin here so I decided to start out simple.Basically what this does it lets a client slap someone for a price ($600 is default). If you know that someone has done this before, feel free to delete this or something.

Commands:
amx_mslap <target> <how many slaps>
amx_mslapcost - This will tell the client how much a slap costs

If you want to change how much a slap costs, you can change the cvar "amx_slapcost"

Please note that this wont work if you are an admin because you get free slaps.

Please comment on my code so I know what i can improve.
Attached Files
File Type: sma Get Plugin or Get Source (slapmod.sma - 5929 views - 1.8 KB)
MercenaryDan is offline
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 05-06-2006 , 16:03  
Reply With Quote #2

one little question a slap cost is this for 1 damage or just for a slap, any damage
btw nice plugin if it's your first Keep it up
__________________
- Bye bye!
nightscreem is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 05-06-2006 , 16:13  
Reply With Quote #3

Choose a category and select the correct gamemod this is for.
__________________
Brad is offline
MercenaryDan
Junior Member
Join Date: May 2006
Location: Houston, TX
Old 05-06-2006 , 16:13  
Reply With Quote #4

Each time you pay $600 it makes one slap with one damage. lol kinda confusing. Brad, sorry im a noob i forgot
MercenaryDan is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 05-06-2006 , 16:18  
Reply With Quote #5

Suggestion: Anytime you have text to display to a user, use AMXX's multilingual system.
__________________
Brad is offline
Reply


Thread Tools
Display Modes

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 17:47.


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