Raised This Month: $ Target: $400
 0% 

Adding Weapons to Buy Menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kitami
Senior Member
Join Date: Jun 2006
Location: Toronto
Old 08-18-2008 , 15:48   Adding Weapons to Buy Menu
Reply With Quote #1

I was wondering if its possible to allow CTs to buy AK47's and Ts to buy M4A1's.

Just basic same price nothing special just the ability to buy the guns, buy lets say adding it to the buy menu although that is client side so I dont think that is possible, but perhaps by typing m4a1 in console.
__________________
You know what I'd like to be? I mean if I had my goddamn choice, I'd just be the catcher in the rye and all.
Kitami is offline
PremunitioN
BANNED
Join Date: Jul 2008
Location: Always use Search before
Old 08-18-2008 , 15:51   Re: Adding Weapons to Buy Menu
Reply With Quote #2

I know there are about 2 plugins that allow that but you have to type a command..BUT I was told it was not possible to edit the original buy menu..
PremunitioN is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 08-18-2008 , 16:11   Re: Adding Weapons to Buy Menu
Reply With Quote #3

Quote:
Originally Posted by PremunitioN View Post
BUT I was told it was not possible to edit the original buy menu..
You could hook the buy command and replace the original menu with one that looks just like it.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
PremunitioN
BANNED
Join Date: Jul 2008
Location: Always use Search before
Old 08-19-2008 , 08:50   Re: Adding Weapons to Buy Menu
Reply With Quote #4

Quote:
Originally Posted by Exolent[jNr] View Post
You could hook the buy command and replace the original menu with one that looks just like it.
Very true..Could be extremely useful.
PremunitioN is offline
zach2581
New Member
Join Date: Jan 2008
Old 08-19-2008 , 11:41   Re: Adding Weapons to Buy Menu
Reply With Quote #5

That would be bad ass.. Makes me wanna host a CS server again...
zach2581 is offline
Kitami
Senior Member
Join Date: Jun 2006
Location: Toronto
Old 08-22-2008 , 03:05   Re: Adding Weapons to Buy Menu
Reply With Quote #6

So what do you guys think is is possible?
__________________
You know what I'd like to be? I mean if I had my goddamn choice, I'd just be the catcher in the rye and all.
Kitami is offline
blanko
Senior Member
Join Date: Aug 2008
Old 10-18-2008 , 22:41   Re: Adding Weapons to Buy Menu
Reply With Quote #7

Quote:
Originally Posted by Exolent[jNr] View Post
You could hook the buy command and replace the original menu with one that looks just like it.
how do i do that?
blanko is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 10-18-2008 , 22:47   Re: Adding Weapons to Buy Menu
Reply With Quote #8

Code:
#include <amxmodx> #include <amxmisc> public plugin_init() {     register_clcmd("buy", "CmdBuy"); } public CmdBuy(client) {     // show menu to client         return PLUGIN_HANDLED_MAIN; }
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Orangutanz
Veteran Member
Join Date: Apr 2006
Old 10-23-2008 , 19:02   Re: Adding Weapons to Buy Menu
Reply With Quote #9

Weapon Mod: Lite
v3x converted my old plugin

However I didn't allow for what you've actually requested for the buy menu itself but you can see how to maniplate it.
__________________
|<-- Retired from everything Small/Pawn related -->|
You know when you've been Rango'd

Last edited by Orangutanz; 10-23-2008 at 19:05.
Orangutanz 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:33.


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