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
![](http://up351.siz.co.il/up2/2g2mi5yi3q4m.png)
Second step - Type this command
![](http://up351.siz.co.il/up2/kyzt2nknm4m1.png)
3rd step - Enter the survey question
![](http://up351.siz.co.il/up1/jjzz0mhdemrm.png)
Next step - Choose how much answers you want for the survey
![](http://up351.siz.co.il/up3/mlnwemzwmh35.png)
Next step - Enter the answer that the players will choose
![](http://up351.siz.co.il/up2/ez5zumwmyddw.png)
![](http://up351.siz.co.il/up3/2zytyiozwma2.png)
![](http://up351.siz.co.il/up3/zyrye3y4iijt.png)
Next step - Enter how much time the players will vote (in seconds)
![](http://up351.siz.co.il/up3/nyetlzwi1znw.png)
*If you wont enter nothing, the survey will end immediately
Next step - Accept the survey
![](http://up351.siz.co.il/up2/gy2zyyimj3j5.png)
After you create the survey the players will be able to vote
![](http://up351.siz.co.il/up3/zentn5z1im1e.png)
To vote write:
![](http://up351.siz.co.il/up1/n3ddummtwhnj.png)
Choose you answer
![](http://up351.siz.co.il/up3/zzn0jzdmzmwj.png)
After the survey will end the result will show
![](http://up351.siz.co.il/up3/mzmmggyjiynt.png)
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
![](http://up351.siz.co.il/up2/2g2mi5yi3q4m.png)
Second step - Type this command
Code:
/Survey
![](http://up351.siz.co.il/up2/kyzt2nknm4m1.png)
3rd step - Enter the survey question
![](http://up351.siz.co.il/up1/jjzz0mhdemrm.png)
Next step - Choose how much answers you want for the survey
![](http://up351.siz.co.il/up3/mlnwemzwmh35.png)
Next step - Enter the answer that the players will choose
![](http://up351.siz.co.il/up2/ez5zumwmyddw.png)
![](http://up351.siz.co.il/up3/2zytyiozwma2.png)
![](http://up351.siz.co.il/up3/zyrye3y4iijt.png)
Next step - Enter how much time the players will vote (in seconds)
![](http://up351.siz.co.il/up3/nyetlzwi1znw.png)
*If you wont enter nothing, the survey will end immediately
Next step - Accept the survey
![](http://up351.siz.co.il/up2/gy2zyyimj3j5.png)
After you create the survey the players will be able to vote
![](http://up351.siz.co.il/up3/zentn5z1im1e.png)
To vote write:
Code:
/Vote
![](http://up351.siz.co.il/up1/n3ddummtwhnj.png)
Choose you answer
![](http://up351.siz.co.il/up3/zzn0jzdmzmwj.png)
After the survey will end the result will show
![](http://up351.siz.co.il/up3/mzmmggyjiynt.png)
Download: http://solidfiles.com/d/88439/
Pastebin [No tabs...]: http://pastebin.com/2zXMi3Nq
Created by Or_Yagoda.