View Single Post
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Old 04-27-2017 , 14:30   Re: [CS:GO] ckSurf (1.18f, 24.11.2015)
Reply With Quote #2570

Quote:
Originally Posted by TrappaTroopa View Post
It Works! Thank you so much! How hard would it be for you to make it read from a config file? There are 2 values I woud like inside the config file.

First Time Map Completion = 100 credits (or whatever value I later decide)
Normal Map Completion = 15 credits (or whatever value I later decide)
Sorry, Cksurf don't have a native to check if this Completion is the first time. And I'm not really motivated to insert an sql query to check this.

Quote:
Originally Posted by TrappaTroopa View Post
I am capable of changing the value you already have set in the plugin and recompiling myself. It would just be easier to do it in it a config file.
just add:
Code:
sm_cksurfcredits_normal "50"
sm_cksurfcredits_bonus "100"
sm_cksurfcredits_practise "25"
to your gamemode_xxx.cfg or server.cfg

If you still insist in an extra config file I can add these cvars to plugin.store.cfg or make an extra .cfg file.

Quote:
Originally Posted by TrappaTroopa View Post
If you do not have the time I completely understand. What you have already done is great and my Admins/players thank you!
When you like what I do, consider in donating to Alliedmodders ;)
__________________
coding & free software

Last edited by shanapu; 04-27-2017 at 15:01.
shanapu is offline