AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Buy weapons with commands (https://forums.alliedmods.net/showthread.php?t=327057)

HowToRuski 08-30-2020 13:01

Buy weapons with commands
 
Hello, as im new in AMXX, i wanna ask for help if is there a way i can buy a weapon with a command?
Like i say /awp or amx_buyawp and it gives awp with full clip.. Or if it is simple could someone of this forum post a sample on this thing?

OciXCrom 08-30-2020 13:15

Re: Buy weapons with commands
 
Buy commands are already in the game. Just type "awp" in the console to buy an AWP. "primammo" to get full ammo.

Code:
bind "v" "buy awp; buy primammo"

You don't need a plugin for this.


All times are GMT -4. The time now is 13:48.

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