No save
#14

Quote:
Originally Posted by Shinja
View Post
Have you done this? and show the new code, and the errors
No error

HTML Code:
SQL_CreationCompte(playerid)
{
	if (!pInfo[playerid][pLogged])
		return 0;

    new
	    query[2048];
	    
    format(query,  sizeof(query), "INSERT INTO `compte` (`ID`, \
	`Enregistrer`, \
    `Vie`, \
    `Gillet`, \
    `Masque`,  \
    `MasqueID`, \
    `Faction`, \
    `Grade`, \
    `Situation`, \
    `Mort`, \
    `TempsJail`, \
    `Warn`, \
    `Banned`, \
    `Maison`, \
    `Commerce`, \
    `FactionProprietaire`, \
    `Vehicule1`, \
    `Vehicule2`, \
    `Vehicule3`, \
	`Level`, \
    `Experience`, \
    `MaxExperience`, \
    `Skin`, \
    `Sexe`, \
    `Cash`, \
    `CashBanque`, \
    `NumeroTel`, \
    `Cheque`, \
    `Temps`, \
    `Amende`, \
    `Facture`, \
    `Emprunt`, \
    `Lotto`, \
    `Permis`, \
    `PermisPoint`, \
    `PortArme`, \
    `Montre`, \
    `GPS`, \
    `Canne`, \
    `Telephone`, \
    `Credits`, \
    `Identite`, \
    `GramDrogue1`, \
    `GramDrogue2`, \
    `GramDrogue3`, \
    `Cocaine`, \
    `Heroine`, \
    `Ecstacy`, \
    `Arme1`, \
    `Minition1`, \
    `Arme2`, \
    `Minition2`, \
    `Arme3`, \
    `Minition3`, \
    `Arme4`, \
    `Minition4`, \
    `Arme5`, \
    `Minition5`, \
    `Arme6`, \
    `Minition6`, \
    `Arme7`, \
    `Minition7`) \
    VALUES('%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d')",
	pInfo[playerid][pID],
	pInfo[playerid][Registered],
	pInfo[playerid][Health],
	pInfo[playerid][Armour],
	pInfo[playerid][Mask],
	pInfo[playerid][MaskID],
	pInfo[playerid][SecteID],
	pInfo[playerid][Grade],
	pInfo[playerid][LastPos],
	pInfo[playerid][Mort],
	pInfo[playerid][JailTime],
	pInfo[playerid][Warn],
	pInfo[playerid][Baned],
	pInfo[playerid][HouseOwner],
	pInfo[playerid][BizOwner],
	pInfo[playerid][FacOwner],
	pInfo[playerid][VehicleOwner],
	pInfo[playerid][VehicleOwner2],
	pInfo[playerid][VehicleOwner3],
	pInfo[playerid][Level],
	pInfo[playerid][Exp],
	pInfo[playerid][MaxExp],
	pInfo[playerid][Skin],
	pInfo[playerid][Gender],
	pInfo[playerid][HandMoney],
	pInfo[playerid][BankMoney],
	pInfo[playerid][PhoneNumber],
	pInfo[playerid][PayeCheck],
	pInfo[playerid][PayeTime],
	pInfo[playerid][Amende],
	pInfo[playerid][Facture],
	pInfo[playerid][Emprunt],
	pInfo[playerid][Lotto],
	pInfo[playerid][Permis],
	pInfo[playerid][PermisPoint],
	pInfo[playerid][PortArme],
	pInfo[playerid][Montre],
	pInfo[playerid][Gps],
	pInfo[playerid][Canne],
	pInfo[playerid][Phone],
	pInfo[playerid][Credits],
	pInfo[playerid][CarteIden],
	pInfo[playerid][DrogueFab1],
	pInfo[playerid][DrogueFab2],
	pInfo[playerid][DrogueFab3],
	pInfo[playerid][Cocaine],
	pInfo[playerid][Heroine],
	pInfo[playerid][Ecstacy],
	pInfo[playerid][Weapon1],
	pInfo[playerid][Wep1Ammo],
	pInfo[playerid][Weapon2],
	pInfo[playerid][Wep2Ammo],
	pInfo[playerid][Weapon3],
	pInfo[playerid][Wep3Ammo],
	pInfo[playerid][Weapon4],
	pInfo[playerid][Wep4Ammo],
	pInfo[playerid][Weapon5],
	pInfo[playerid][Wep5Ammo],
	pInfo[playerid][Weapon6],
	pInfo[playerid][Wep6Ammo],
	pInfo[playerid][Weapon7],
	pInfo[playerid][Wep7Ammo]
	);
	//mysql_tquery(g_iHandle, query, "OnQueryFinished", "dd", playerid, THREAD_CREATE_CHAR);
	mysql_tquery(g_iHandle, query);
	return 1;
}
Reply


Messages In This Thread
No save - by Sirop - 04.08.2016, 23:11
Re: No save - by Fantje - 04.08.2016, 23:13
Re: No save - by Stinged - 04.08.2016, 23:14
Re: No save - by AndySedeyn - 04.08.2016, 23:19
Re: No save - by SyS - 05.08.2016, 01:26
Re: No save - by Sirop - 05.08.2016, 13:42
Re: No save - by Stinged - 05.08.2016, 13:44
Re: No save - by Sirop - 05.08.2016, 19:17
Re: No save - by Sirop - 05.08.2016, 19:54
Re: No save - by Stinged - 05.08.2016, 20:38
Re: No save - by Shinja - 05.08.2016, 22:12
Re: No save - by Sirop - 05.08.2016, 22:43
Re: No save - by Shinja - 05.08.2016, 22:54
Re: No save - by Sirop - 06.08.2016, 15:14
Re: No save - by Sirop - 06.08.2016, 16:06

Forum Jump:


Users browsing this thread: 1 Guest(s)