[MySQL] Loading a variable.
#9

pawn Код:
SendClientMessage(playerid, COLOR_YELLOW, "You have succesfully logged in!");
                    IsLogged[playerid] = 1;
                    mysql_format(mysql, query, sizeof(query), "SELECT * FROM playerdata WHERE Name = '%e' LIMIT 1", PlayerInfo[playerid][name]);
                    mysql_tquery(mysql, query, "LoadAccount", "d", playerid);
                    if(GenderSelected[playerid] != 1) ShowPlayerDialog(playerid, DIALOG_GENDER, DIALOG_STYLE_MSGBOX, "Gender","Please select the gender of your character","Male","Female");
                    if(PlayerInfo[playerid][pSkillSelected] != 1)
                    {
                        ShowPlayerDialog(playerid, DIALOG_SKILL, DIALOG_STYLE_LIST, "Select the skill you want your chracter to have","Medic\nAthlete\nPilot\nMechanic","Select","Quit");
                        print("yeah!");
                    }
Yeah the connection is alive.
Reply


Messages In This Thread
[MySQL] Loading a variable. - by Faisal_khan - 12.06.2014, 18:27
Re: [MySQL] Loading a variable. - by Patrick - 12.06.2014, 18:34
Re: [MySQL] Loading a variable. - by Faisal_khan - 12.06.2014, 18:39
Re: [MySQL] Loading a variable. - by Patrick - 12.06.2014, 18:41
Re: [MySQL] Loading a variable. - by Faisal_khan - 12.06.2014, 18:50
Re: [MySQL] Loading a variable. - by xo - 12.06.2014, 19:08
Re: [MySQL] Loading a variable. - by Faisal_khan - 12.06.2014, 19:11
Re: [MySQL] Loading a variable. - by xo - 13.06.2014, 00:32
Re: [MySQL] Loading a variable. - by Faisal_khan - 13.06.2014, 08:20
Re: [MySQL] Loading a variable. - by Faisal_khan - 13.06.2014, 08:50

Forum Jump:


Users browsing this thread: 1 Guest(s)