SA-MP Forums Archive
Createing a test IG for players - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Createing a test IG for players (/showthread.php?tid=498836)



Createing a test IG for players - KaliKs - 05.03.2014

hey guys igot this question i wanna create a test like if you wanna join PD then like you know admins never got time n stuff i need to create a CMD to do that and for player what i need is:
1. How i can make to show only for Player(Playerid if online)
2.How i can create dialog make it succed or fail
3. if you have done the test and completed it 10/10 then it will be shown to admins
OOC RP Test ex Quiz


Re: Createing a test IG for players - KaliKs - 05.03.2014

Bump


Hi Help me pls - CopKing123 - 05.03.2014

i need help, with scripting,i want to create commands, i created commands, and the command i created at first, it only works, but not others why,i type other commands and the functions work with the first command !


Re: Createing a test IG for players - XK - 05.03.2014

Just use ShowPlayerDialog....
and under OnDialogResponse...
pawn Код:
if(dialogid == dialogid or name)
{
            if(listitem == 1)
            {
                  //Which means if the answer that he answered is the first one,write the code here,like if it was true show the next dialog for him,and you can create few listitems and one of them is the right one
             }