AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   simple menu (https://forums.alliedmods.net/showthread.php?t=128601)

omgitsme 06-03-2010 02:18

simple menu
 
hey, since i'm new to scripting. is making a normal menu hard?
i just want it to be like if someone writes /pirkti it shows them 4 items in the menu, then i want it to redirect them to the motd in cstrike. eg in chat /pirkti shows a menu, numer 1 says Admin so it redirects them to admin.txt. i have this so far
Code:

#include <amxmodx>
#include <amxmisc>

public plugin_init() {
    register_plugin("Paslaugos","1.0","omgitsme")
}
register_clcmd("say /pirkti", "paslaugos")

oh, and how is the best way to make a menu in amxx-studio? through generators and then menu generator?

#8 SickneSS 06-03-2010 02:20

Re: simple menu
 
Read this
http://forums.alliedmods.net/showthread.php?t=46364

fysiks 06-03-2010 15:39

Re: simple menu
 
After reading that, you should have no questions on how to do it. :).


All times are GMT -4. The time now is 05:18.

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