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

Trade Money


Post New Thread Reply   
 
Thread Tools Display Modes
Zapdos1
BANNED
Join Date: Jul 2009
Location: Chile - La Serena
Old 01-01-2010 , 20:31   Re: Trade Money
Reply With Quote #11

nice plugin, and really usefull .
thanks for upload it
Zapdos1 is offline
gladius
Veteran Member
Join Date: Jul 2008
Location: Santiago, Chile
Old 01-01-2010 , 20:57   Re: Trade Money
Reply With Quote #12

Added dutch and german language
Added Prefix

download the new plugin and ML
__________________
Proyects
Kreedz Chile Mod [100%] (Fixing some details).

gladius is offline
Send a message via MSN to gladius Send a message via Skype™ to gladius
Starsailor
horrible hahah
Join Date: Aug 2008
Location: Buenos Aires
Old 01-01-2010 , 21:20   Re: Trade Money
Reply With Quote #13

PHP Code:
#define MAXREQ 5 // maximum of times you can send the request for money 
#define MAXGIVE 5 // maximum of times you can give money 
You could make a cvar for that
__________________
Find my plugins here..

Ex - Spanish Moderator.
Starsailor is offline
gladius
Veteran Member
Join Date: Jul 2008
Location: Santiago, Chile
Old 01-02-2010 , 00:03   Re: Trade Money
Reply With Quote #14

updated to 1.2

- Fix ChatColor bug

- Added two cvars

money_maxrequest (default "5")
money_maxgive (default "5")
__________________
Proyects
Kreedz Chile Mod [100%] (Fixing some details).

gladius is offline
Send a message via MSN to gladius Send a message via Skype™ to gladius
gladius
Veteran Member
Join Date: Jul 2008
Location: Santiago, Chile
Old 01-02-2010 , 00:35   Re: Trade Money
Reply With Quote #15

Mini Update, edit first Thread

PREFIX added in ML
__________________
Proyects
Kreedz Chile Mod [100%] (Fixing some details).

gladius is offline
Send a message via MSN to gladius Send a message via Skype™ to gladius
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-01-2010 , 01:17   Re: Trade Money
Reply With Quote #16

I see this so many times in this plugin:
Code:
// This is just an example: if(call_some_native()) {     call_another_native(call_some_native())     some_array[call_some_native()] = 10 }
Where you should do:
Code:
new value = call_some_native(); if(value) {     call_another_native(value)     some_array[value] = 10 }
In other words, cache natives instead of using them more than once because it can slow your plugin down and use more CPU.

Approval pending on changes.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
krzyzak333
Junior Member
Join Date: Mar 2009
Location: Poland
Old 02-04-2010 , 10:59   Re: Trade Money
Reply With Quote #17

Translated to Polish
Quote:
[pl]
SPAWNMSG = !tJesli chcesz !yPoprosic o !tlub !yDac !tkase , napisz !y( !g/money !y, !g!money !y, !g.money !y)
EXIT = \yWyjscie
MAINMENUTITLE = \yWymiana kasa
MAINMENUITEM1 = \wDaj kase
MAINMENUITEM2 = \wPopros o kase
GIVEMENUTITLE = \yWybierz gracza, aby dac kase
REQMENUTITLE = \yWybierz gracza, aby poprosic o kase
LIMITOPEN = !tNie mozesz otwierac wiecej niz !y%d !trazy na runde
CONFMENUTITLE = \r%s \ypoprosil Cie o kase
CONFMENUITEM1 = \wAkceptuj
CONFMENUITEM2 = \wOdrzuc
PLAYERACCEPT = !tZaakceptowano prosbe od !g%s
TARGETACCEPT = !g%s !tzaakceptowal twoja prosbe
PLAYERREFUSE = !tProsby odrzucone
TARGETREFUSE = !g%s !todrzucil prosbe
ENOUGHMONEY = !yNie masz tyle kasy
AMOUNTGIVE = !tDales !g$%d !tdo !y%s
AMOUNTRECEIVE = !y%s !tdal ci !g$%d
krzyzak333 is offline
simivar
Junior Member
Join Date: Jan 2010
Old 02-04-2010 , 14:56   Re: Trade Money
Reply With Quote #18

Quote:
Originally Posted by krzyzak333 View Post
Translated to Polish
Quote:
[pl]
SPAWNMSG = !tJesli chcesz !yPoprosic o !tlub !yDac !tkase , napisz !y( !g/money !y, !g!money !y, !g.money !y)
EXIT = \yWyjscie
MAINMENUTITLE = \yWymiana kasa
MAINMENUITEM1 = \wDaj kase
MAINMENUITEM2 = \wPopros o kase
GIVEMENUTITLE = \yWybierz gracza, aby dac kase
REQMENUTITLE = \yWybierz gracza, aby poprosic o kase
LIMITOPEN = !tNie mozesz otwierac wiecej niz !y%d !trazy na runde
CONFMENUTITLE = \r%s \ypoprosil Cie o kase
CONFMENUITEM1 = \wAkceptuj
CONFMENUITEM2 = \wOdrzuc
PLAYERACCEPT = !tZaakceptowano prosbe od !g%s
TARGETACCEPT = !g%s !tzaakceptowal twoja prosbe
PLAYERREFUSE = !tProsby odrzucone
TARGETREFUSE = !g%s !todrzucil prosbe
ENOUGHMONEY = !yNie masz tyle kasy
AMOUNTGIVE = !tDales !g$%d !tdo !y%s
AMOUNTRECEIVE = !y%s !tdal ci !g$%d
Revised.

Code:
[pl]
SPAWNMSG = !tJesli chcesz !yPoprosic o !tlub !yDac !tkase , napisz !y(  !g/money !y, !g!money !y, !g.money !y)
EXIT = \yWyjscie
MAINMENUTITLE = \yWymiana pieniedzy
MAINMENUITEM1 = \wPodaruj pieniadze
MAINMENUITEM2 = \wPopros o pieniadze
GIVEMENUTITLE = \yWybierz gracza, aby podarowac pieniadze
REQMENUTITLE = \yWybierz gracza, aby poprosic o pieniadze
LIMITOPEN = !tNie mozesz otwierac wiecej niz !y%d !trazy na runde
CONFMENUTITLE = \r%s \ypoprosil Cie o pieniadze
CONFMENUITEM1 = \wAkceptuj
CONFMENUITEM2 = \wOdrzuc
PLAYERACCEPT = !tZaakceptowano wniosek od !g%s
TARGETACCEPT = !g%s !tzaakceptowal Twoja prosbe
PLAYERREFUSE = !tPWniosek odrzucony
TARGETREFUSE = !g%s !todrzucil Twoj wniosek
ENOUGHMONEY = !yNie masz tyle pieniedzy
AMOUNTGIVE = !tPrzekazales!g$%d !tgraczowi !y%s
AMOUNTRECEIVE = !y%s !tpodarowal Ci !g$%d
simivar is offline
gladius
Veteran Member
Join Date: Jul 2008
Location: Santiago, Chile
Old 02-04-2010 , 16:53   Re: Trade Money
Reply With Quote #19

- Thanks Exolent, fixed
- Add Polish ML
__________________
Proyects
Kreedz Chile Mod [100%] (Fixing some details).

gladius is offline
Send a message via MSN to gladius Send a message via Skype™ to gladius
epic .
Senior Member
Join Date: Oct 2009
Location: China
Old 02-05-2010 , 01:16   Re: Trade Money
Reply With Quote #20

Did the money pay back ?
I have a idea, if the request player have not enough money, he will pay back more money later, somewhat like usury. haha
Just idea of my, your plugin is so good, we like it.

here is the chinese lang:
Code:
[cn]
SPAWNMSG = !t如果你想 !y借 !t或者 !y给 !t钱 , 可输入 !y( !g/money !y, !g!money !y, !g.money !y)
EXIT = \y退出
MAINMENUTITLE = \y现金交易
MAINMENUITEM1 = \w给他人钱
MAINMENUITEM2 = \w请求别人给点钱
GIVEMENUTITLE = \y选择要给钱的对象
REQMENUTITLE = \y选择要借钱的对象
LIMITOPEN = !t您一局之内不能操作超过 !y%d !t次
CONFMENUTITLE = \r%s \y发送你的借钱请求
CONFMENUITEM1 = \w接受
CONFMENUITEM2 = \w拒绝
PLAYERACCEPT = !t接受了来自 !g%s的请求
TARGETACCEPT = !g%s !t接受了请求
PLAYERREFUSE = !t拒绝了请求
TARGETREFUSE = !g%s !t无视请求
ENOUGHMONEY = !y你没有足够的钱
AMOUNTGIVE = !t你已经把 !g$%d !t给了 !y%s
AMOUNTRECEIVE = !y%s !t给了你 !g$%d
PREFIX = !y[TM]
__________________
Quote:
Destinies in my AWP sight are all alike;
Destinies out of my AWP sight in its own way.
epic . is offline
Send a message via ICQ to epic .
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 07:19.


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