Raised This Month: $51 Target: $400
 12% 

CS GO: Set money for stand-in or restore money?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Geicher
Junior Member
Join Date: May 2015
Old 07-02-2015 , 15:53   CS GO: Set money for stand-in or restore money?
Reply With Quote #1

Hello,
I would like to know how I can manually restore money for specific players or give a certain amount to a new player joining (i.e. a stand-in)

I searched a lot on the web but I didn't find any helpful information.

Do I need a plugin to do that?

Last edited by Geicher; 07-02-2015 at 15:54.
Geicher is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 07-02-2015 , 18:26   Re: CS GO: Set money for stand-in or restore money?
Reply With Quote #2

http://bfy.tw/dLJ
Maxximou5 is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 07-02-2015 , 22:53   Re: CS GO: Set money for stand-in or restore money?
Reply With Quote #3

very tricky with that short url ;)

OR csgo stores round data to txt files and that can be used as a restore points - no plugin needed.
hamilton5 is offline
Geicher
Junior Member
Join Date: May 2015
Old 07-07-2015 , 12:44   Re: CS GO: Set money for stand-in or restore money?
Reply With Quote #4

I see, but I'm looking for a solution to do it without sourcemod.

Don't get me wrong, but I prefer running a competitve server as clean as possible (only CSay)

@hamilton: can you explain me how to do that?

Last edited by Geicher; 07-07-2015 at 12:46.
Geicher is offline
Geicher
Junior Member
Join Date: May 2015
Old 07-12-2015 , 13:30   Re: CS GO: Set money for stand-in or restore money?
Reply With Quote #5

Still looking for a solution without using plugins.
Geicher is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 07-12-2015 , 14:28   Re: CS GO: Set money for stand-in or restore money?
Reply With Quote #6

http://store.steampowered.com/news/9207/

read SERVER ADMINISTRATION

Last edited by hamilton5; 07-12-2015 at 14:28.
hamilton5 is offline
versatile_bfg
Veteran Member
Join Date: Feb 2012
Old 07-13-2015 , 02:21   Re: CS GO: Set money for stand-in or restore money?
Reply With Quote #7

Quote:
SERVER ADMINISTRATION ]
- Added Save/Restore of match state.
- Added convar 'mp_backup_round_file [fileprefix]' -- If set then server will save all played rounds information to files with this prefix. Backup file contains players information like KDA, MVPs, cash, kevlar, helmet, defuse kit, weapons and grenades and match score for first and second halves. In a case of a tournament server crash backup file can be loaded using ' mp_backup_restore_load_file'. The default is 'backup'
- Added convar 'mp_backup_round_file_last' -- Every time a backup file is written the value of this convar gets updated to hold the name of the backup file.
-Added concommand 'mp_backup_restore_list_files [number]' -- Lists recent backup round files matching the prefix, most recent files first, accepts a numeric parameter to limit the number of files displayed (default 5).
- Added concommand 'mp_backup_restore_load_file [filename]' -- Loads the specified backup file and applies players information like KDA, MVPs, cash, kevlar, helmet, defuse kit, weapons and grenades; sets the match score for first and second half and starts next round.
- Added convar 'mp_backup_round_file_pattern,' that defines the pattern for naming backup files using tokens. Example: %prefix%_%date%_%time%_%team1%_%team2%_%map%_ round%round%_score_%score1%_%score2%.txt. The default pattern results in 'backup_roundNN.txt'
__________________
versatile_bfg is offline
Geicher
Junior Member
Join Date: May 2015
Old 07-21-2015 , 09:14   Re: CS GO: Set money for stand-in or restore money?
Reply With Quote #8

That seems to work to restore money but I'd like to know how I can set the exact amount of money one player had for a stand-in?


For example:

A isconnected while he had 3200$, the team decides to use player B as stand-in.
When B joins on the server he gets the default 800$ but I would like to give him the 3200$ A had before.

Last edited by Geicher; 07-21-2015 at 09:15.
Geicher is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 07-21-2015 , 14:27   Re: CS GO: Set money for stand-in or restore money?
Reply With Quote #9

Quote:
Originally Posted by Geicher View Post
That seems to work to restore money but I'd like to know how I can set the exact amount of money one player had for a stand-in?


For example:

A isconnected while he had 3200$, the team decides to use player B as stand-in.
When B joins on the server he gets the default 800$ but I would like to give him the 3200$ A had before.
As I see it - you have two options.

1) Use the built-in stuff as explained above.

2) Use additional server plugins (e.g. "sourcemod").


Since you just said that 1) doesn't suit your demands completely, there may only be one way remaining in order to accomplish your goal 100%.

Pretty obvious, that way would be 2).

Your wishes is probably (and unfortunately) too advanced for 1)..
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Reply



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 08:44.


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