Quote:
Originally Posted by Supremache
Replace
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))
With
PHP Code:
cs_set_user_money(id, clamp(( iStartMoney + get_pcvar_num(pCvar_ctf_spawnmoney)), get_pcvar_num(pCvar_mp_startmoney), 16000))
|
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_startmoney
)
oh I spent 1500 and I only got 500, I just died instead back with 2000, I'm coming back with 500