AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Solved [CSGO] gun menu (https://forums.alliedmods.net/showthread.php?t=304270)

srvmil 01-09-2018 20:03

[CSGO] gun menu
 
Hi,

I'd like to request a plugin for CSGO where Counter-Terrorist can type !guns in chat and it pop up a menu containing all the Terrorists weapons where they can purchase in the buyzone as this is for a mod.

!guns command can only be used by CTs. So whenever Terrorists type !guns, it come up saying "You are on the wrong team to use this command!!" in green text.

With all of the terrorists weapons, the prices has to be the same from Terrorist team.

Eg.

-------------------------
| Terrorist Weapons |
| 1. AK-47 ($2700) |
| 2. MAC-10 ($1050) |
| 3. Bizon ($1400) |
| 4. etc |
| 5. etc |
| 6. etc |
| 7. etc |
| 8. etc |
| 9. Next |
-------------------------

I'm happy to do all weapons and pricing if you cant do it all but please do add first 2 or 3 guns so I can keep adding them to the list :)

srvmil 01-11-2018 04:22

Re: [CSGO] buy command/menu for CTs
 
Can anyone make this please?

I know there are gun menu, but I would like to be used for CT only, and only terrorists weapons & prices where it deducts the money too.

8guawong 01-11-2018 06:52

Re: [CSGO] gun menu for CTs
 
https://forums.alliedmods.net/showthread.php?t=304315

srvmil 01-11-2018 07:33

Re: [CSGO] gun menu for CTs
 
Quote:

Originally Posted by 8guawong (Post 2571206)

I've tested it, but it doesn't work?

EDIT: Am I missing anything?

EDIT2: Sorry, I didn't see that Market url you gave in the description, let me try again and will let you know

EDIT3: the menu works but the guns are not given after you select which guns.

8guawong 01-11-2018 07:49

Re: [CSGO] gun menu for CTs
 
Quote:

Originally Posted by srvmil (Post 2571212)
I've tested it, but it doesn't work?

EDIT: Am I missing anything?

EDIT2: Sorry, I didn't see that Market url you gave in the description, let me try again and will let you know

EDIT3: the menu works but the guns are not given after you select which guns.

is it on the ground?

do you have enough money?

srvmil 01-11-2018 07:53

Re: [CSGO] gun menu for CTs
 
Quote:

Originally Posted by 8guawong (Post 2571217)
is it on the ground?

do you have enough money?

Not on the ground, and yes the start money is $16000.

It just wont give me the weapon at all

8guawong 01-11-2018 08:04

Re: [CSGO] gun menu for CTs
 
Quote:

Originally Posted by srvmil (Post 2571220)
Not on the ground, and yes the start money is $16000.

It just wont give me the weapon at all

ok i know whats wrong

updated the plugin plz try again :3

srvmil 01-11-2018 08:19

Re: [CSGO] gun menu for CTs
 
Now I get the weapon, it is working thanks :D

Can you add a spawn message by any chance? I would want it to say like this [SM] Type !guns for weapons and restriction message on opposite team like if they try to use !guns, it would say you're on the wrong team pls?

EDIT: Plus I noticed, when buyzone timer expires, the !guns is still accessible when it shouldn't. !guns should only work with buyzone timer, say 45 seconds to buy i think by default so when the timer is over, it should not let them buy the weapon due to expire timer? Is it possible to give u the new pistol instead of dropping it on ground, it should give u in hand automatically. Can you add this?

8guawong 01-11-2018 08:51

Re: [CSGO] gun menu for CTs
 
added the message
i'll make it obey mp_buytime when i have time

srvmil 01-11-2018 09:12

Re: [CSGO] gun menu for CTs
 
Quote:

Originally Posted by 8guawong (Post 2571226)
added the message
i'll make it obey mp_buytime when i have time

Sweet, thank you for making this :)

Letting you know, the guns are used on CT only, when I swap to terrorist team, and type !guns, it come up saying [GUNS] You have to be in the buyzone to use this command. but it should have used that "Wrong team" message from phrase. You might know the problem.

As well buyzone timer needs to be added but will wait when you have time.


All times are GMT -4. The time now is 14:03.

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