02.01.2011, 18:54
(
Last edited by Yagoda; 02/01/2011 at 07:53 PM.
)
Before you start you need to define line 12:
Enter the number of the maximum answers admin can choose in-game.
First step - Connect to rcon
Second step - Type this command
3rd step - Enter the survey question
Next step - Choose how much answers you want for the survey
Next step - Enter the answer that the players will choose
Next step - Enter how much time the players will vote (in seconds)
*If you wont enter nothing, the survey will end immediately
Next step - Accept the survey
After you create the survey the players will be able to vote
To vote write:
Choose you answer
After the survey will end the result will show
Download: http://solidfiles.com/d/88439/
Pastebin [No tabs...]: http://pastebin.com/2zXMi3Nq
Created by Or_Yagoda.
PHP Code:
#define MAX_ANSWERS_PER_SURVEY 5
First step - Connect to rcon
Second step - Type this command
Code:
/Survey
3rd step - Enter the survey question
Next step - Choose how much answers you want for the survey
Next step - Enter the answer that the players will choose
Next step - Enter how much time the players will vote (in seconds)
*If you wont enter nothing, the survey will end immediately
Next step - Accept the survey
After you create the survey the players will be able to vote
To vote write:
Code:
/Vote
Choose you answer
After the survey will end the result will show
Download: http://solidfiles.com/d/88439/
Pastebin [No tabs...]: http://pastebin.com/2zXMi3Nq
Created by Or_Yagoda.