Can someone provide me this script
I want to create a custom buy menu , Can someone just provide a little script on how to create it ?
Like it should replace the original buy menu , Would open when we press b . And just creating menu and submenu example 1) Pistols 1. Deagle [Cost] 2. USP [COST] 2) Special Weapons 1. Awp [Cost , Adrenaline] It should look somewhat like this .. Can anyone help me ? |
Re: Can someone provide me this script
here you go this is a menu you can add more submenu on it and add the weapon cost feature :
PHP Code:
|
Re: Can someone provide me this script
Quote:
Thanks can you also please tell me how can i add adrenaline option too ? we have adrenaline in jctf so i just want it here too .. Also can you tell me how can i add new nades here? Like Trip nades super He nd all , Can we add items by plugins |
Re: Can someone provide me this script
yes you can add item by using cmd of the nades plugin or any others .
here is a example : PHP Code:
|
Re: Can someone provide me this script
Quote:
Ok i got it . Thank you very much i will make it now .. Just 1 more question here menu_additem( menu, " Tripe Nades", "", 0) menu_additem( menu, "Admin Nade", "", ADMIN_BAN) what are these -> " " -> why its 0 ? -> Admin_ban ? I mean values of what thing have you put there? |
Re: Can someone provide me this script
Also i have to add this code right ? It will disable VGUI menu and open the custom and set the buy zone
Quote:
|
Re: Can someone provide me this script
the
PHP Code:
|
Re: Can someone provide me this script
@yas17sin how can i add the prices of the weapons? You didn't added that
Quote:
|
Re: Can someone provide me this script
i don't know you you should check this and add the money feature.
|
Re: Can someone provide me this script
include the cstrike includefile and use the natives cs_set_user_money(id, amount), cs_get_user_money(id)
PHP Code:
|
| All times are GMT -4. The time now is 21:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.