Quote:
Originally Posted by SwitchView
I would like to say that you made this plugin wonderfully and Im running it on my server, and mostly everyone that plays on it loves it, but it has some flaws. I could not get the prices to change, no matter what I do, in the config file I can not get them to change. I even had a friend of mine that is a programmer and can read this code, he said we can't change the prices because you have defaults, don't know if that is true. But I gave him the source and he had me change some things so that the prices would change, and even though we went into the source file I could not get them to change, and yes I compliled it, uploaded it and put it on my server. So if there is a way to change the prices, how?
|
Strange. Maybe you are setting the wrong convars? Also, your friend must not be the smartest programmer, because the defaults don't do anything. They're just what the program resets the values to whenever it is loaded (which is whenever the server restarts, not when a map is loaded). The config is there to prevent the values from changing.
Here, test this for me. In the cfg/sourcemod/L4DPoints.cfg file, change points_price_pills to 0 (the convar is already in there, don't add your own text. Maybe that's what you're doing wrong?). Does it work?