Raised This Month: $ Target: $400
 0% 

16k Money each new round?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ToKey
Junior Member
Join Date: Aug 2004
Location: Houston, TX
Old 12-07-2007 , 20:32   16k Money each new round?
Reply With Quote #1

I am looking for a plugin that will give everyone in the server 16k each new round, or maybe you can add a variable to change the amount you get each new round too?

Thanx in advance..
ToKey is offline
Send a message via AIM to ToKey
FuZ!on
Senior Member
Join Date: Aug 2007
Old 12-07-2007 , 20:42   Re: 16k Money each new round?
Reply With Quote #2

If you want your players to type /moneyme this is what you are looking for: http://forums.alliedmods.net/showthr...=instant+money

If you just want it to give it automatically, here:

Code:
#include <amxmodx>
#include <cstrike>

public plugin_init() {
   register_plugin("Infinite Money","0.10","Avalanche");


   register_event("Money","event_money","b");
}

public event_money(id) {
   cs_set_user_money(id,16000);
}



That should work
FuZ!on is offline
ToKey
Junior Member
Join Date: Aug 2004
Location: Houston, TX
Old 12-07-2007 , 20:47   Re: 16k Money each new round?
Reply With Quote #3

Thanx bro, I appreciate it, I will go try it out now..
ToKey is offline
Send a message via AIM to ToKey
ToKey
Junior Member
Join Date: Aug 2004
Location: Houston, TX
Old 12-07-2007 , 21:25   Re: 16k Money each new round?
Reply With Quote #4

Hey bro, it works good excpet that, the money doesn't get reduced, it just stays at 16k, even if you buy stuff. I would like the money to go down when you buy stuff for that round. Can you code it to do that for me please?
ToKey is offline
Send a message via AIM to ToKey
FuZ!on
Senior Member
Join Date: Aug 2007
Old 12-07-2007 , 21:34   Re: 16k Money each new round?
Reply With Quote #5

I would really like to take the credit for coding these but, I can't. I don't code them as you can see by the Author's names.

Code:
#include <amxmodx>
#include <fun>
#include <cstrike>
public plugin_init() {
 register_plugin("Money","1.0","Reaper2331")
 register_cvar("amx_money","1")   //Starts The Plugin In The On Position
 register_cvar("money_amount", "16000")  //The Amount Of Money You Want The Client To Have
}
public client_PreThink(id) {
 if (get_cvar_num("amx_money") !=0) {
 
  new money = cs_get_user_money(id)
  new moneyamount = get_cvar_num("money_amount")
 
  if(money < moneyamount)
   cs_set_user_money(id, moneyamount)  //Gives Back The Money To The Client 
 }
 new money = cs_get_user_money(id)
 new adminmoney = 16000
 
 if(money < adminmoney)
  cs_set_user_money(id, adminmoney)  //Gives Back The Money To The Admin 
}  


That might work.

+karma
FuZ!on is offline
ToKey
Junior Member
Join Date: Aug 2004
Location: Houston, TX
Old 12-07-2007 , 22:03   Re: 16k Money each new round?
Reply With Quote #6

It still doesn't subtract the money from the total that you spend each round.. Anything else?
ToKey is offline
Send a message via AIM to ToKey
ToKey
Junior Member
Join Date: Aug 2004
Location: Houston, TX
Old 12-07-2007 , 22:08   Re: 16k Money each new round?
Reply With Quote #7

Anyways, the reason why I want it to subtract the money is so peeps don't just buy millions of guns and what not, which could potentionally crash the server, and I don't want them to nade spam with smokes and crap as well.
ToKey is offline
Send a message via AIM to ToKey
FuZ!on
Senior Member
Join Date: Aug 2007
Old 12-07-2007 , 22:09   Re: 16k Money each new round?
Reply With Quote #8

I will keep looking. I have had this plug in before. Don't know why I can't find it.
FuZ!on is offline
FuZ!on
Senior Member
Join Date: Aug 2007
Old 12-07-2007 , 22:14   Re: 16k Money each new round?
Reply With Quote #9

EDIT:

Here it is:

http://forums.alliedmods.net/showthr...ighlight=Money
FuZ!on is offline
ToKey
Junior Member
Join Date: Aug 2004
Location: Houston, TX
Old 12-07-2007 , 22:24   Re: 16k Money each new round?
Reply With Quote #10

Thanx bro, once again for all your help, to a stranger like myself.

www.711clan.net Hit us up, we are friendly..
ToKey is offline
Send a message via AIM to ToKey
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 18:06.


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