Team' s fund
2 Attachment(s)
Hello everyone!
This is a simple plugin for sharing margin money to teammate. *1.Levy upon tax from players whose money more than LEVYPOINT by cess. *2.Imburse players whose money less than BASEMONEY. *3.This plugin is applicable for the server which using unlimited money. ----------------------------------------------------------------- amxx.cfg custom(if you has not define,default mount will use): //custom for imburse player whose money less than the BASEMONEY Fund_BASEMONEY 5000 //custom each team's max fund Fund_MAXFUND 100000 //custom the levy up point Fund_LEVYPOINT 10000 //custom base cess //player's cess = player's money / LEVYPOINT * BASECESS Fund_BASECESS 10 //custom highest cess Fund_MAXCESS 90 ------------------------------------------------------------------ I'm a tyro for amxx,please enlighten more,thanks very much! Sorry for my bad English. |
Re: Team' s fund
You can remove:
PHP Code:
PHP Code:
|
Re: Team' s fund
Thanks SweatyBanana.I'll amend it.
I put these "if" just to prevent people custom some illogical parameter, example: BASEMONEY > MAXFUND or BASEMONEY > LEVYPOINT etc. But I don't know other method... |
Re: Team' s fund
hmm 'good ideal' I alway hear it before you know.
but I have question. Code:
new Float:cessX = Float:float(idMoney) / Float:float(LEVYPOINT) how about register a native call instead below: Code:
callfunc_begin("gv_get_money", "Ryu_Money.amxx") I have other ideal: How about execute "Show_Fund_Task" between roundend and buytime is over that can free the finite HUD channel I think. |
Re: Team' s fund
Quote:
PHP Code:
PHP Code:
I think the two methods are cheap, but as you know, I can't find better idea by my current level. |
Re: Team' s fund
try this out.
registe native in your unlimit money plugin Code:
public plugin_natives() Code:
native gv_get_money(id) |
Re: Team' s fund
Looks alright, although it could be better. I'm guessing it works based on the above posts, so I'll approve it.
|
Re: Team' s fund
hi, is this the plugin so u can have over 16 000$ in game? how u install it?
|
Re: Team' s fund
I don't know.. i tried this a while ago but it did'nt really work. Does this need the unlimited plugin to be installed, too? And if yes, which one?
|
All times are GMT -4. The time now is 19:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.