SA-MP Forums Archive
[FilterScript] Create survey In Game ! Very easy with dialogs 0.3 + - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Create survey In Game ! Very easy with dialogs 0.3 + (/showthread.php?tid=205978)



Create survey In Game ! Very easy with dialogs 0.3 + - Yagoda - 02.01.2011

Before you start you need to define line 12:
PHP Code:
#define MAX_ANSWERS_PER_SURVEY 5 
Enter the number of the maximum answers admin can choose in-game.

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.



Re: Create survey In Game ! Very easy with dialogs 0.3 + - Toreno - 02.01.2011

Looks very nice, add Pastebin also...
Good job!


Re: Create survey In Game ! Very easy with dialogs 0.3 + - Yagoda - 02.01.2011

Quote:
Originally Posted by EliranPesahov
View Post
Looks very nice, add Pastebin also...
Good job!
I dont want pastebin because i want to see how many people download this script...
Quote:
Originally Posted by TheAwesome'nator
View Post
cool.
Tnk.

Please tell my if you see any spelling mistakes...



Re: Create survey In Game ! Very easy with dialogs 0.3 + - Toreno - 02.01.2011

Quote:
Originally Posted by Yagoda
View Post
I dont want pastebin because i want to see how many people download this script...

Please tell my if you see any spelling mistakes...[/B]
Alright, and a spell mistake in your MY, should be ME.


Re: Create survey In Game ! Very easy with dialogs 0.3 + - alpha500delta - 02.01.2011

Its "Percent" and not "present"

and it isnt "How MACH time" but "how MUCH time"

pleaqse fix your typo's because it looks a bit sloppy.
But for the rest its very good, I will use it


Re: Create survey In Game ! Very easy with dialogs 0.3 + - Mr L - 02.01.2011

nice one.


Re: Create survey In Game ! Very easy with dialogs 0.3 + - Yagoda - 02.01.2011

Quote:
Originally Posted by alpha500delta
View Post
Its "Percent" and not "present"

and it isnt "How MACH time" but "how MUCH time"

pleaqse fix your typo's because it looks a bit sloppy.
But for the rest its very good, I will use it
Will be fixed tommorow.

Any bugs?



Re: Create survey In Game ! Very easy with dialogs 0.3 + - Luis- - 02.01.2011

http://pastebin.com/6qtKZrj2 <=== Pastebin.


Re: Create survey In Game ! Very easy with dialogs 0.3 + - Yagoda - 02.01.2011

Added pastebin