Spawnmoney jctf
Good night I'll try to explain as best I can I'm using JCTF by Digi plugin
in it I made a config like this Admin starts with 3000 and players with 2000 Code:
pCvar_adm_startmoney = MONEY ADMINPHP Code:
|
Re: Spawnmoney jctf
cs_get_user_money( id ) + BONUS SPAWNMONEY
|
Re: Spawnmoney jctf
Quote:
PHP Code:
|
Re: Spawnmoney jctf
You said in your request that you want to return the money to those who didn't spend it, so why are you still giving them the starter money, try adding their existing money to the spawn money.
PHP Code:
|
Re: Spawnmoney jctf
Quote:
Basically this, I want to give extra money to those who haven't spent anything but there are two cvars there pCvar_adm_startmoney = ADMIN/VIP MONEY pCvar_mp_startmoney = PLAYER MONEY PHP Code:
|
Re: Spawnmoney jctf
PHP Code:
|
Re: Spawnmoney jctf
Quote:
This here seems to work but now I have another problem when I spend my money it doesn't give me back the value I should have from the das cvars |
Re: Spawnmoney jctf
Quote:
PHP Code:
PHP Code:
|
Re: Spawnmoney jctf
Quote:
Still the same thing Basically it's like this when I spend the money it doesn't return the value of the cvars EXAMPLE I have 2000( HTML Code:
pCvar_mp_startmoneyoh I spent 1500 and I only got 500, I just died instead back with 2000, I'm coming back with 500 |
Re: Spawnmoney jctf
I really dont understand you.
PHP Code:
|
| All times are GMT -4. The time now is 21:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.