AlliedModders

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

Vechta 06-19-2010 09:09

Menu
 
hey,
someone can tell me how i make a menu that only can open 1x in map ?

RedRobster 06-19-2010 09:39

Re: Menu
 
Find emp's AMXX Menu tutorial. Set a bool that after the menu has been opened once, it gets set to true. And if the bool is true, the menu won't open.

Vechta 06-19-2010 09:46

Re: Menu
 
Quote:

Originally Posted by RedRobster (Post 1213403)
Find emp's AMXX Menu tutorial. Set a bool that after the menu has been opened once, it gets set to true. And if the bool is true, the menu won't open.

can you explain more about it? maybe show little code :/ ?

mottzi 06-19-2010 10:36

Re: Menu
 
new bool:menu_opened

if (menu_opened == 0)
{
show menu
menu_opened = 1
}
else
{
opened before!
}

GXLZPGX 06-19-2010 10:50

Re: Menu
 
Quote:

Originally Posted by Vechta (Post 1213391)
hey,
someone can tell me how i make a menu that only can open 1x in map ?

This is scripting help, this sounds more like a request. You have been given an example, if it makes no sense, you obviously do not know the basics of scripting, and therefor should look at some tutorials or go to the "Suggestions & Requests" forum.

RedRobster 06-19-2010 11:53

Re: Menu
 
Quote:

Originally Posted by GXLZPGX (Post 1213453)
This is scripting help, this sounds more like a request. You have been given an example, if it makes no sense, you obviously do not know the basics of scripting, and therefor should look at some tutorials or go to the "Suggestions & Requests" forum.

Well, he's not trying to get someone to make it for him. All he is trying to do is figure out how to do this. He wants to learn. If he doesn't get it, people will help him to understand.

Vechta 06-19-2010 12:31

Re: Menu
 
Quote:

Originally Posted by RedRobster (Post 1213493)
Well, he's not trying to get someone to make it for him. All he is trying to do is figure out how to do this. He wants to learn. If he doesn't get it, people will help him to understand.

ye :(

But i solved my problem thank you all^^

RedRobster 06-19-2010 12:54

Re: Menu
 
Alright. Awesome. haha

GXLZPGX 06-19-2010 13:00

Re: Menu
 
Quote:

Originally Posted by RedRobster (Post 1213530)
Alright. Awesome. haha

Porn.

fysiks 06-19-2010 13:51

Re: Menu
 
Quote:

Originally Posted by GXLZPGX (Post 1213534)
Porn.

If you are not willing to make it yourself then post in the Suggestion/Requests forum. :)


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

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