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

Change weapons price


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
maxolahird
Veteran Member
Join Date: Dec 2012
Old 03-09-2013 , 16:31   Change weapons price
Reply With Quote #1

I would like to make all weapons free.

Thx
maxolahird is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-09-2013 , 17:19   Re: Change weapons price
Reply With Quote #2

You maybe need discuss this with Gabe, he can arrange for you weapons with good price from mann co store.
__________________
Do not Private Message @me
Bacardi is offline
imdawe
BANNED
Join Date: Aug 2011
Old 03-09-2013 , 17:45   Re: Change weapons price
Reply With Quote #3

if you need all weapons for free, why not set the money to 99999?
imdawe is offline
Send a message via MSN to imdawe
maxolahird
Veteran Member
Join Date: Dec 2012
Old 03-09-2013 , 19:40   Re: Change weapons price
Reply With Quote #4

For real? No jokes please... I really need this, is it so hard to change weapon prices? With all those stuff I see ppl making?


Is money the problem? it isn't really Just ask... don't think I will pay like 20$ for it as I think it's pretty simple and it will be only useful in a single map.


Also, why not set money to 99999? Cuz not, I use money for lots of shops in my server
maxolahird is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 03-09-2013 , 19:49   Re: Change weapons price
Reply With Quote #5

Maybe using this https://forums.alliedmods.net/showthread.php?t=166468
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 03-09-2013 , 19:53   Re: Change weapons price
Reply With Quote #6

Bacardi was being subtle. Here, let me be blunt for him:
Which game is this for?

We know you're talking about in-game money, so that eliminates TF2 (probably). That just leaves (of the ones I know of) CS:S, TF2 MvM, CS:GO, or Nuclear Dawn.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
maxolahird
Veteran Member
Join Date: Dec 2012
Old 03-09-2013 , 21:52   Re: Change weapons price
Reply With Quote #7

CSS?
maxolahird is offline
Marcus_Brown001
AlliedModders Donor
Join Date: Nov 2012
Location: Illinois, United States
Old 03-10-2013 , 01:33   Re: Change weapons price
Reply With Quote #8

Why not just use CSS DM if you want everything to be free?

Last edited by Marcus_Brown001; 03-10-2013 at 01:33.
Marcus_Brown001 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-10-2013 , 03:37   Re: Change weapons price
Reply With Quote #9

Quote:
Originally Posted by maxolahird View Post
I would like to make all weapons free.

Thx
Quote:
Originally Posted by maxolahird View Post
CSS?
Quote:
Originally Posted by Franc1sco View Post
This is one way to do it, what @Franc1sco suggested. Not need plugins, only add weapon TXT files in server.
Server need restart everytime when you want make changes.
But you need set weapon price at least 1$ or otherwise its "restricted"
---------
Maybe simple plugin ? Need also charge 1$ or else it restricted.
PHP Code:
#include <cstrike>

public Action:CS_OnGetWeaponPrice(client, const String:weapon[], &price)
{
    
//PrintToServer("CS_OnGetWeaponPrice %i, %s, %i", client, weapon, price);
    
price 1;
    return 
Plugin_Changed;

But notice! players-weapon-buy-menu-vgui not work along with these price changes,
And when they have less money than weapon original price, they need use buy command trough console input.
This vgui problem can be "fixed", modifying player ...\resource\ui\buy*.res files. But you can't do it from server, so forget.
---
Maybe this ? HAven't tested
[CS:S] Buy Command v2.0.3 (Updated: 12/6/11)
---
Maybe like css-dm plugin, what bring up menu when player spawn ?
---

Rant:
@Thnx erlord clarifying my crankiness.
I just hate ask same never-ending-old-question at second, third or fourth post.
__________________
Do not Private Message @me
Bacardi is offline
maxolahird
Veteran Member
Join Date: Dec 2012
Old 03-10-2013 , 14:08   Re: Change weapons price
Reply With Quote #10

Quote:
Originally Posted by Bacardi View Post
This is one way to do it, what @Franc1sco suggested. Not need plugins, only add weapon TXT files in server.
Server need restart everytime when you want make changes.
But you need set weapon price at least 1$ or otherwise its "restricted"
---------
Maybe simple plugin ? Need also charge 1$ or else it restricted.
PHP Code:
#include <cstrike>

public Action:CS_OnGetWeaponPrice(client, const String:weapon[], &price)
{
    
//PrintToServer("CS_OnGetWeaponPrice %i, %s, %i", client, weapon, price);
    
price 1;
    return 
Plugin_Changed;

But notice! players-weapon-buy-menu-vgui not work along with these price changes,
And when they have less money than weapon original price, they need use buy command trough console input.
This vgui problem can be "fixed", modifying player ...\resource\ui\buy*.res files. But you can't do it from server, so forget.
---
Maybe this ? HAven't tested
[CS:S] Buy Command v2.0.3 (Updated: 12/6/11)
---
Maybe like css-dm plugin, what bring up menu when player spawn ?
---

Rant:
@Thnx erlord clarifying my crankiness.
I just hate ask same never-ending-old-question at second, third or fourth post.
error (1) : 010 invalid function or declaration
maxolahird 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 04:20.


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