16.11.2012, 08:31
Hey,
I'm using my old method checking if the variable or enum Story is set to 1 by using if(pInfo,blahblah)
It works with yini and dini.
However the method doesn't work in MySQL
Is there any way to check if pInfo[playerid][Story] integer is set to 1?
Sorry doesn't work..
I'm using my old method checking if the variable or enum Story is set to 1 by using if(pInfo,blahblah)
It works with yini and dini.
However the method doesn't work in MySQL
pawn Код:
if(pInfo[playerid][Story] == 0)
{
new msg[526];
strcat(msg, ""white"Storyline before starting the game\n\n");
strcat(msg, "You are in a secret mission to deliver the Formula X to other secret agent hq\n");
strcat(msg, "the mission location locates in San Fierro, While you are talking to the dealer\n");
strcat(msg, "secret agent about the Formula X in the phone, You didn't saw the coming pedestrian vehicle\n");
strcat(msg, "you try to missed it, you missed it, but you lost the Formula X, It's up to you\n");
strcat(msg, "to bring the Formula X back and deliver it to other secret agent hq.\n\n");
strcat(msg, "Press the Start button in the dialog to start playing");
ShowPlayerDialog(playerid, STORY, DIALOG_STYLE_MSGBOX, ""white"Storyline", msg, "Start", "");
pInfo[playerid][Story] = 1;
}
Sorry doesn't work..