Raised This Month: $ Target: $400
 0% 

How to menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-10-2009 , 17:25   Re: How to menu
Reply With Quote #1

Wow, nifty. I dont' know how to use those enums like you do . I've just based my stuff on mapchooser.sma
__________________
fysiks is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 04-10-2009 , 17:29   Re: How to menu
Reply With Quote #2

Quote:
Originally Posted by fysiks View Post
Wow, nifty. I dont' know how to use those enums like you do . I've just based my stuff on mapchooser.sma
It's very simple. You just have to understand them.
__________________
joaquimandrade is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-10-2009 , 17:30   Re: How to menu
Reply With Quote #3

Quote:
Originally Posted by joaquimandrade View Post
It's very simple. You just have to understand them.
Really? I would have never guessed.
__________________
fysiks is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 04-10-2009 , 17:31   Re: How to menu
Reply With Quote #4

Quote:
Originally Posted by fysiks View Post
Really? I would have never guessed.
__________________
joaquimandrade is offline
Miko000000
Senior Member
Join Date: Jul 2008
Location: Slovakia
Old 04-11-2009 , 07:44   Re: How to menu
Reply With Quote #5

please people help me with a count menu . I need that menu as in RTV plugin and i donīt know what is what in that plugin
Miko000000 is offline
Send a message via ICQ to Miko000000 Send a message via Skype™ to Miko000000
Miko000000
Senior Member
Join Date: Jul 2008
Location: Slovakia
Old 04-11-2009 , 09:57   Re: How to menu
Reply With Quote #6

on the count menu can be used classic and player menu and please tell me the answer on my Question
Miko000000 is offline
Send a message via ICQ to Miko000000 Send a message via Skype™ to Miko000000
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 04-11-2009 , 09:58   Re: How to menu
Reply With Quote #7

Quote:
Originally Posted by Miko000000 View Post
on the count menu can be used classic and player menu and please tell me the answer on my Question
To display the menu for every player you just need a for loop. To then count the votes, you just need a task.
__________________
joaquimandrade is offline
Miko000000
Senior Member
Join Date: Jul 2008
Location: Slovakia
Old 04-11-2009 , 12:15   Re: How to menu
Reply With Quote #8

omg i know i need task i need it after changed map 75 seconds
Miko000000 is offline
Send a message via ICQ to Miko000000 Send a message via Skype™ to Miko000000
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-11-2009 , 21:20   Re: How to menu
Reply With Quote #9

Emp added a "vote menu" example to his "New Menus Tutorial" btw. It shows sending the same menu to multiple players while only creating it once.

To start the vote after 75 seconds put a set_task in plugin_init to start the vote.

PHP Code:
public plugin_init()
{
 
set_task(75.0"startvote")
}

public 
startvote()
{
 
// code to show menu to players

__________________
fysiks is offline
Miko000000
Senior Member
Join Date: Jul 2008
Location: Slovakia
Old 04-12-2009 , 05:30   Re: How to menu
Reply With Quote #10

I know that it's needed for the task but I don't need task. I need when the menu appears and guys start to vote so it counts the amount of votes for each option and then it execute the proper action e.g rtv plugin or so
Miko000000 is offline
Send a message via ICQ to Miko000000 Send a message via Skype™ to Miko000000
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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