menus
hey as i read like 5 min ago on a bots-united.. a kid was gonna make a bot menu for his dedicated
this is his commands epb addbot 2 - will add a bot in ct epb addbot 1 - will add a bot in t epb addbot - will add a bot in a team epb killbots - will kill all bots epb removebots - will kick all bots epb jasonmode on - bots use only knife he said he was putting it a commandmenu.txt im a little noob up to this point.. since i wonna do the same... what exactly do i do... make a commandmenu.txt put epb addbot 2 - will add a bot in ct epb addbot 1 - will add a bot in t epb addbot - will add a bot in a team epb killbots - will kill all bots epb removebots - will kick all bots epb jasonmode on - bots use only knife in it... and then in game do bind key commandmenu right?? |
Bots, and AMXX coding are....different.
Look into the Doc, and look at some plugins with menus. |
bah
bah i know its all different but can u tell me how to do it :-/[/i]
|
Start with this in your plugin_init:
Code:
You also need someway to go to the menu. Let's use a say command. Code:
Then make a public, to format the menu. Code:
Then we need to define the "cases" or what happens when a button is pressed. Code:
|
| All times are GMT -4. The time now is 23:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.