Quote:
Originally Posted by Supremache
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(id, clamp(( cs_get_user_money( id ) + 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(id, clamp(( cs_get_user_money( id ) + 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