Raised This Month: $ Target: $400
 0% 

Spawnmoney jctf


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
yagami
Senior Member
Join Date: Jan 2021
Old 06-12-2022 , 10:51   Re: Spawnmoney jctf
Reply With Quote #5

Quote:
Originally Posted by Supremache View Post
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:
cs_set_user_money(idclamp(( cs_get_user_moneyid ) + get_pcvar_num(pCvar_ctf_spawnmoney)), get_pcvar_num(pCvar_mp_startmoney), 16000)) 

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:
cs_set_user_money(idclamp(( cs_get_user_moneyid ) + get_pcvar_num(pCvar_ctf_spawnmoney)), get_pcvar_num(pCvar_mp_startmoney), 16000)) 
[/QUOTE] this code here would not be giving money only to players
yagami is offline
 



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 21:19.


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