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

CSGO set price of kevlar


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 01-24-2017 , 13:44   CSGO set price of kevlar
Reply With Quote #1

Is it possible to set the price of kevlar without using plugins?
i tried looking inside csgo/scripts but could not find anything regarding price of kevlar...(or maybe i'm just blind @@)
__________________
8guawong is offline
headline
SourceMod Moderator
Join Date: Mar 2015
Old 01-24-2017 , 17:13   Re: CSGO set price of kevlar
Reply With Quote #2

Quote:
Originally Posted by 8guawong View Post
Is it possible to set the price of kevlar without using plugins?
i tried looking inside csgo/scripts but could not find anything regarding price of kevlar...(or maybe i'm just blind @@)
It'd get overwritten every update anyway :/
headline is offline
Puppetmaster
Senior Member
Join Date: Jun 2015
Location: Probably at a computer.
Old 01-24-2017 , 17:30   Re: CSGO set price of kevlar
Reply With Quote #3

Quote:
Originally Posted by Headline View Post
It'd get overwritten every update anyway :/
Exactly, inside of a plugin its a simple case of hooking item_purchase for the vest, subtracting your desired amount and blocking at the end.
__________________

GZS Servers
Puppetmaster is offline
asdfxD
Veteran Member
Join Date: Apr 2011
Old 01-25-2017 , 10:37   Re: CSGO set price of kevlar
Reply With Quote #4

won't be overwritten.

use app_update 740 instead of app_update 740 validate.

i had the same issue with pure_server_whitelist.txt it was always overwritten and restored to default. since i use only app_update 740 nothing has been restored yet. validate should be used if you have server issues, not with updates.

Quote:
Validate is a command that will check all the server files to make sure they match the SteamCMD files. This command is useful if you think that files may be missing or corrupted.
Validation will overwrite any files that have been changed. This may cause issues with customized servers. For example, if you customize mapcycle.txt, this file will be overwritten to the server default. Any files that are not part of the default installation will not be affected.
It is recommended you use this command only on initial installation and if there are server issues.

Last edited by asdfxD; 01-25-2017 at 10:48.
asdfxD is offline
headline
SourceMod Moderator
Join Date: Mar 2015
Old 01-25-2017 , 14:06   Re: CSGO set price of kevlar
Reply With Quote #5

Quote:
Originally Posted by asdfxD View Post
-snip-
I was under the impression that weapon script were overwritten regardless
headline is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 01-25-2017 , 15:18   Re: CSGO set price of kevlar
Reply With Quote #6

Quote:
Originally Posted by Headline View Post
I was under the impression that weapon script were overwritten regardless
A good impression, because it's true, when they're updated.
Regardless if they are validated or not.
To check for proof, just look at the last time the file was modified, chances are, it was the last update.

Last edited by Maxximou5; 01-25-2017 at 15:19.
Maxximou5 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 22:56.


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