Raised This Month: $12 Target: $400
 3% 

Money Give


Post New Thread Reply   
 
Thread Tools Display Modes
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 07-23-2005 , 11:20  
Reply With Quote #11

Quote:
Originally Posted by +ARUKARI-
CstrikeModule REQUIRED
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
TaRzAn510
New Member
Join Date: Jul 2005
Old 07-25-2005 , 05:09  
Reply With Quote #12

where do i get all those stuff?? and if can help me aim me @ azndragons2600 my msn is [email protected] thanks
TaRzAn510 is offline
DahVid
Senior Member
Join Date: Jun 2005
Old 07-25-2005 , 06:08  
Reply With Quote #13

Hmmm, I could probably make a money-donater (automatic) if the user had a auto-login cookie and Cstrike's MOTD supporteded php.. Just maybe. Too bad!
DahVid is offline
LiLdUckLiNg
Junior Member
Join Date: Aug 2005
Old 08-27-2005 , 16:21  
Reply With Quote #14

.........i tink i'm do' sumting wrong can sum1 explain better?
LiLdUckLiNg is offline
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 08-27-2005 , 16:24  
Reply With Quote #15

Use the Doc

If that's too easy use this: http://forums.alliedmods.net/showthread.php?t=16972
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
bouche
Member
Join Date: Oct 2005
Old 12-10-2005 , 04:07  
Reply With Quote #16

is there a way to donate without having to use your money????
bouche is offline
bouche
Member
Join Date: Oct 2005
Old 12-11-2005 , 21:37  
Reply With Quote #17

bump?
bouche is offline
+ARUKARI-
AlliedModders Donor
Join Date: Jul 2004
Location: Japan
Old 03-17-2006 , 20:13  
Reply With Quote #18

Update this plugin version 1.05
Code:
2006/03/15        1.05        Any bugfix
__________________
GitHub
SteamWishlist

六四天安門事件

Last edited by +ARUKARI-; 06-30-2006 at 03:08.
+ARUKARI- is offline
tomy91
Member
Join Date: Jun 2006
Location: Latvia
Old 07-15-2006 , 08:46   Re: Money Give
Reply With Quote #19

Nice plugin, but I'd like this plugin a little bit different, because I don't like that there are huds... I like, that someone looks at this topic http://forums.alliedmods.net/showthread.php?t=15379 and changes this script a little bit, because it's older than 1 year and it doesn't compiles right on amxx 1.75:
PHP Code:
#include <amxmodx> 
#include <amxmisc> 
#include <cstrike> 

   
new amount[] = cs_get_user_money(id
   new 
balance[] = amount str_to_num(arg2)
   new 
target_balance[] = amount str_to_num(arg2)

public 
plugin_init() { 
    
register_plugin("Money Giver""1.0" "VanillA Ice"
    
register_clcmd("say /give","money_give",0,"<name><money> - give money to a player"
    
set_task(200.0"Notify""0""b")


public 
money_give(id) {          
    
 new 
arg1[33],arg2[33],name[33],aname[33
    
read_argv(2,arg1,31
    
read_argv(3,arg2,31
      
    new 
target cmd_target(id,arg1,1
    
get_user_name(target,name,32
    
get_user_name(id,aname,32
     
if (
amount <= str_to_num(arg2) ) 
     { 
        
    
client_print(idprint_chat"[AMXX] You cant give more than you have or else you will go bankrupt! Maybe you should not be THAT generous, huh?" )
  return 
PLUGIN_HANDLED 
             


 
//***************
//-------------------------------------
//****************
  

if (amount >= arg2


   
cs_set_user_money(idbalance1)
   
cs_set_user_money(targettarget_balance1)
    
client_print(0print_chat"[AMXX] %s gave %s %d dollars, how kind of him!",aname,name,arg2

    
client_print(idprint_chat"[AMXX] You have %s %d dollars!"namearg2)

    
client_print(targetprint_chat"[AMXX] %s was kind enough to give you %d dollars! Go give him a big hug!",anamearg2)

   } 
    return 
PLUGIN_HANDLED 


public 
Notify(id){

client_print(0print_chat"[AMXX] Be generous today and makes someone's day, say /give <amount> to give money to a person!")
 } 
__________________

Last edited by tomy91; 07-15-2006 at 08:48.
tomy91 is offline
Send a message via Skype™ to tomy91
dineshrohra
Junior Member
Join Date: Aug 2012
Location: Dubai, United Arab Emira
Old 08-31-2012 , 09:21   Re: Money Give
Reply With Quote #20

Quote:
Originally Posted by +ARUKARI- View Post
Code:
/* -=MONEY-GIVE=- Each player can be donated to other players. ================================================ -=VERSIONS=- Releaseed(Time in JP)   Version    comment ------------------------------------------------ 2005/01/29    1.02    main release 2005/01/29    1.03    Rename 2005/03/11    1.04    Can donate to the immunity.                          Bot was stopped in the reverse. 2006/03/15    1.05    Any bugfix ================================================ -=INSTALLATION=- Compile and install plugin. (configs/plugins.ini) ================================================ -=USAGE=- Client command / say donate -show donate menu Server command / amx_donate_max -A limit of amount of money to have -default $16000 ================================================ -=SpecialThanks=- Idea    Mr.Kaseijin Tester  Mr.Kaseijin          orutiga          justice ================================================ */ #include <amxmodx> #include <amxmisc> #include <cstrike>

A code for this plugin may be the least suitable.
CstrikeModule REQUIRED
Can You Help Me With Some Changes ?
I've Limited The Plugin To Be Used Only By ADMIN_BAN, ADMIN_LEVEL_G & ADMIN_LEVEL_H Access Levels.
Can You Limit The MAXIMUM Amount Of Money For Each Level To Donate PER DAY ?
ADMIN_BAN => $40,000 (Maximum Amount To Donate To Players EACH DAY)
ADMIN_LEVEL_G => $15,000 (Maximum Amount To Donate To Players EACH DAY)
ADMIN_LEVEL_H => 30,000 (Maximum Amount To Donate To Players EACH DAY)
dineshrohra 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:46.


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