MySQL Issues
#1

Well, I am attempting to learn MySQL, but I pretty much failed on Vortex lol..

Anyways, so in my phpmyadmin, it shows all the data saving but not loading?

I searched all over through Vortex and cannot find it... Please help

On my "stock SavePlayerData"
pawn Код:
format(saveQuery, sizeof(saveQuery), "%s, playerCarTrunk1 = '%d', playerCarTrunk2 = '%d', playerCarLicense = '%d', playerWeaponLicense = '%d', playerPhoneCredit = '%d', playerWalkieTalkie = '%d'", saveQuery, playerVariables[playerid][pCarTrunk][0], playerVariables[playerid][pCarTrunk][1], playerVariables[playerid][pCarLicense], playerVariables[playerid][pWeaponLicense], playerVariables[playerid][pPhoneCredit], playerVariables[playerid][pWalkieTalkie]);
And I cannot find the loading thing, but I will assume it's this, but probably not lol

case THREAD_CHECK_CREDENTIALS: {
pawn Код:
mysql_get_field("playerCarLicense", result);
                playerVariables[extraid][pCarTrunk][0] = strval(result);
               
                mysql_get_field("playerWeaponLicense", result);
                playerVariables[extraid][pWeaponLicense] = strval(result);

                mysql_get_field("playerLicenseSuspended", result);
                playerVariables[extraid][pWeaponLicense] = strval(result);
If anyone has the Vortex Script and know, where they load it please tell me =D
Reply


Messages In This Thread
MySQL Issues - by Swyft™ - 31.10.2012, 00:50
Re: MySQL Issues - by Swyft™ - 31.10.2012, 02:58
Re: MySQL Issues - by ReneG - 31.10.2012, 05:32
Re: MySQL Issues - by Swyft™ - 31.10.2012, 13:02
Re: MySQL Issues - by ReneG - 31.10.2012, 13:57
Re: MySQL Issues - by Swyft™ - 01.11.2012, 00:09

Forum Jump:


Users browsing this thread: 1 Guest(s)