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 , 18:30   Re: Spawnmoney jctf
Reply With Quote #9

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