SA-MP Forums Archive
[Tutorial] How to create a simple RP quiz (Dialogs) - 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)
+---- Forum: Tutorials (https://sampforum.blast.hk/forumdisplay.php?fid=70)
+---- Thread: [Tutorial] How to create a simple RP quiz (Dialogs) (/showthread.php?tid=283920)

Pages: 1 2


Re: How to create a simple RP quiz (Dialogs) - Jafet_Macario - 21.09.2011

Same thing, anyway check now.


Re: How to create a simple RP quiz (Dialogs) - MonkZemun - 21.09.2011

Thanks for this tutorial.


Re: How to create a simple RP quiz (Dialogs) - Jafet_Macario - 21.09.2011

Quote:
Originally Posted by MonkZemun
View Post
Thanks for this tutorial.
You're welcome.


Re: How to create a simple RP quiz (Dialogs) - GrimR - 21.09.2011

Very nice, simple and to the point.

Despite the title and intended purpose it gives you the basic idea
of how to use and implement dialogs, from this basic example you
can do just about anything with it.


Re: How to create a simple RP quiz (Dialogs) - Compton - 21.09.2011

Thank you, pretty nice tutorial, need to find some time and check it out better


Re: How to create a simple RP quiz (Dialogs) - Jafet_Macario - 26.09.2011

Quote:
Originally Posted by GrimR
View Post
Very nice, simple and to the point.

Despite the title and intended purpose it gives you the basic idea
of how to use and implement dialogs, from this basic example you
can do just about anything with it.
Thank you.

Quote:
Originally Posted by Compton
View Post
Thank you, pretty nice tutorial, need to find some time and check it out better
Thank you.


Re: How to create a simple RP quiz (Dialogs) - shady001 - 27.09.2011

Nice tutorial , but i'm not agree with those things on a roleplay server ... , still very goot tutorial thx for your work .


Re: How to create a simple RP quiz (Dialogs) - JustinAn - 22.05.2012

Thanks man, it helped alot! REP +1


Re: How to create a simple RP quiz (Dialogs) - [GF]Logic - 23.05.2012

Good Tutorial Learned alot thanks


Re: How to create a simple RP quiz (Dialogs) - Michael_Cuellar - 19.12.2012

How do I make it come in after my reigster dialog, when i added it, everytime i got on my server the RP quiz just pops up and my age, male/female, and login and register doesnt come up

I added
pawn Code:
// RP Quiz
    SendClientMessage(playerid, -1,"You will have to pass through a quiz"); // Added -1 color as default.
    ShowPlayerDialog(playerid,DIALOG_QUIZ,DIALOG_STYLE_LIST,"What does RP stands for?"," Real Pussy \n Role Play \n Real Money","Select","Leave Game");
    QuizAnswers[playerid] = 0; // We set the player quiz answers to 0 when he connects.
under my login and register system on OnPlayerConnect like he said


Re: How to create a simple RP quiz (Dialogs) - John_Harper - 09.01.2013

C:\Users\Toshiba\Desktop\Learning script\Roleplay Base Script\gamemodes\hrp.pwn(1759) : error 021: symbol already defined: "S@@_OnDialogResponse"997-2006, ITB CompuPhase


Re: How to create a simple RP quiz (Dialogs) - Diorturato - 12.01.2013

Omg, your code! Why?! Why for each answer you are creating a new condition?


Re: How to create a simple RP quiz (Dialogs) - HolyScripter - 17.10.2013

EDITED : Has fixed by my self , thanks for the script


Re: How to create a simple RP quiz (Dialogs) - FiReMaNStone - 17.10.2013

Good Job i will try to make this if any problem i will contact you


Re: How to create a simple RP quiz (Dialogs) - CharlieSanchez - 24.02.2014

Thank you for taking the time and effort to do this for who needs, There are similar indeed, however it is a nice help for people like me that are in the first steps of scripting, Well i am making my Rp gm from scratch and im using this but modified ofc. i have a doubt and i need some help please, The trouble is when the player actually quits in the middle of completing the quiz when they login again they do not get the dialog again, i'm trying to set this but having a bit of trouble i'm using Y_Ini files and pInfo Enums , thank you in advance.


Re: How to create a simple RP quiz (Dialogs) - CharlieSanchez - 25.02.2014

Sorry For double post but found a solution and might help future people, well i have added a pInfo Variable on Playerinfo Enum, Such as pQuizzpass 0 or 1 for passed so on player register new account creates the variable with a zero and on player connect again before login used a if (playerid[pInfo][pQuizPass] (here either less simbol or greater than ); depends what you wish to do...

For the end of the quiz it creates the variable pQuizzPass 1 Works for me this way.

hope migh help some one or not cheers and once again thanks for the Quiz script it self helped me so I'm rep + You !

Toodles.


Respuesta: How to create a simple RP quiz (Dialogs) - RafaelZam - 25.02.2014

nice tuto C:
! +1


Re: How to create a simple RP quiz (Dialogs) - BlackbirdXd - 12.02.2017

It is similar to all others rp server I agreed but It's fucking awesome to new scripter like me to understand the logic of how it's work how we can implement it into our gm. Good job.


Re: How to create a simple RP quiz (Dialogs) - Shplink - 24.10.2018

For the record, even if this is on a ton of servers it actually helped me out as I was trying to learn a little more about dialogs and RP tests. +1


Re: How to create a simple RP quiz (Dialogs) - CaptainBoi - 09.11.2018

simple and easy
well good tutorial