Help, Please
#1

Hello, I am Editing the GF Script (The One by FeaR) and I am confused at one part

pawn Код:
public OnPlayerConnect(playerid)
{
    ShowPlayerDialog(playerid,InfoMsg,DIALOG_STYLE_MSGBOX,"{FFFF00}Info about RP Quiz","You will now be taken to an RP Quiz \nwhich you must pass in order to play.","{00FF00}Let's Go","{FF0000}Fuck this");
    return 1;
}
Im Using an RP Quiz System which some guy gave to me to use, I want it to show to the player after they registerd an Account

PS: Dont tell me "Dont use GF!" or Similar
Reply
#2

Show me your registration codes, and i'll show you where to place it.
Reply
#3

Do you mean the Whole
pawn Код:
public OnPlayerConnect(playerid)
?
Reply
#4

whats the problem ?
Reply
#5

You first need to know if the player name in not taken, if it's not then it should show the registeration dialog first.
pawn Код:
if(!playerexists) SHOWPLAYERDIALOG(REGISTERATION, ...); // It's only an example!
else if(playerexists) SHOWPLAYERDIALOG(LOGIN, ...); // It's only an example!
Then when he finished, you need to do so another dialog would pop up.

Also, if you have no clue how to script then you should learn first. People won't script for you the whole thing, get a scripter or something.
Reply
#6

The question is, is the registration and login in dialogs? If it is, go to the dialogresponse thats for registration, after it says something like "you're registered" you would add the showplayerdialog for the RP quiz.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)