Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerUpdate(playerid)
- {
- TextDrawHideForPlayer(playerid, SPEEDOS[playerid]);
- TextDrawHideForPlayer(playerid, SPEEDOS1[playerid]);
- TextDrawHideForPlayer(playerid, SPEEDOS2[playerid]);
- TextDrawHideForPlayer(playerid, SPEEDOS3[playerid]);
- TextDrawHideForPlayer(playerid, SPEEDOS4[playerid]);
- TextDrawHideForPlayer(playerid, SPEEDOS5[playerid]);
- if(IsPlayerConnected(playerid))
- {
- if(gPlayerLogged[playerid])
- {
- MySQLCheckConnection();
- new query[MAX_STRING];
- format(query, MAX_STRING, "UPDATE players SET ");
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Password", PlayerInfo[playerid][pKey]);
- PlayerInfo[playerid][pCash] = GetPlayerMoney(playerid);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "PlayerLevel", PlayerInfo[playerid][pLevel]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "AdminLevel", PlayerInfo[playerid][pAdmin]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "DonateRank", PlayerInfo[playerid][pDonateRank]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "UpgradePoints",PlayerInfo[playerid][gPupgrade]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "ConnectedTime",PlayerInfo[playerid][pConnectTime]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Registered",PlayerInfo[playerid][pReg]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Sex",PlayerInfo[playerid][pSex]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Age",PlayerInfo[playerid][pAge]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Spawn",PlayerInfo[playerid][pOrigin]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "CK",PlayerInfo[playerid][pCK]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Muted",PlayerInfo[playerid][pMuted]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Respect",PlayerInfo[playerid][pExp]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Money",PlayerInfo[playerid][pCash]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Bank",PlayerInfo[playerid][pAccount]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Crimes",PlayerInfo[playerid][pCrimes]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Kills",PlayerInfo[playerid][pKills]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Deaths",PlayerInfo[playerid][pDeaths]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Arrested",PlayerInfo[playerid][pArrested]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "WantedDeaths",PlayerInfo[playerid][pWantedDeaths]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Phonebook",PlayerInfo[playerid][pPhoneBook]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "LottoNr",PlayerInfo[playerid][pLottoNr]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Fishes",PlayerInfo[playerid][pFishes]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "BiggestFish",PlayerInfo[playerid][pBiggestFish]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Job",PlayerInfo[playerid][pJob]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Paycheck",PlayerInfo[playerid][pPayCheck]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "HeadValue",PlayerInfo[playerid][pHeadValue]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Jailed",PlayerInfo[playerid][pJailed]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "JailTime",PlayerInfo[playerid][pJailTime]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Materials",PlayerInfo[playerid][pMats]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Drugs",PlayerInfo[playerid][pDrugs]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Leader",PlayerInfo[playerid][pLeader]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Member",PlayerInfo[playerid][pMember]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "FMember",PlayerInfo[playerid][pFMember]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Rank",PlayerInfo[playerid][pRank]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Char",PlayerInfo[playerid][pChar]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "ContractTime",PlayerInfo[playerid][pContractTime]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "DetSkill",PlayerInfo[playerid][pDetSkill]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "SexSkill",PlayerInfo[playerid][pSexSkill]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "BoxSkill",PlayerInfo[playerid][pBoxSkill]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "LawSkill",PlayerInfo[playerid][pLawSkill]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "MechSkill",PlayerInfo[playerid][pMechSkill]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "JackSkill",PlayerInfo[playerid][pJackSkill]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "CarSkill",PlayerInfo[playerid][pCarSkill]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "NewsSkill",PlayerInfo[playerid][pNewsSkill]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "DrugsSkill",PlayerInfo[playerid][pDrugsSkill]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "CookSkill",PlayerInfo[playerid][pCookSkill]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "FishSkill",PlayerInfo[playerid][pFishSkill]);
- MySQLUpdatePlayerFlo(query, PlayerInfo[playerid][pSQLID], "pSHealth",PlayerInfo[playerid][pSHealth]);
- GetPlayerHealth(playerid,PlayerInfo[playerid][pHealth]);
- MySQLUpdatePlayerFlo(query, PlayerInfo[playerid][pSQLID], "pHealth",PlayerInfo[playerid][pHealth]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Int",PlayerInfo[playerid][pInt]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Local",PlayerInfo[playerid][pLocal]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Team",PlayerInfo[playerid][pTeam]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Model",PlayerInfo[playerid][pModel]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "PhoneNr",PlayerInfo[playerid][pPnumber]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "House",PlayerInfo[playerid][pPhousekey]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Bizz",PlayerInfo[playerid][pPbiskey]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "SpawnChange",SpawnChange[playerid]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "WantedLevel",WantedLevel[playerid]);
- //MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "CarKey1",PlayerInfo[playerid][pPcarkey]);
- //MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "CarKey2",PlayerInfo[playerid][pPcarkey2]);
- //MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "CarKey3",PlayerInfo[playerid][pPcarkey3]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "InvMask",PlayerInfo[playerid][pInvMask]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "InvWeapon",PlayerInfo[playerid][pInvWeapon]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "InvAmmo",PlayerInfo[playerid][pInvAmmo]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Achievement1",PlayerInfo[playerid][pAchievement1]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Achievement3",PlayerInfo[playerid][pAchievement3]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Achievement2",PlayerInfo[playerid][pAchievement2]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Achievement4",PlayerInfo[playerid][pAchievement4]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Achievement5",PlayerInfo[playerid][pAchievement5]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Achievement6",PlayerInfo[playerid][pAchievement6]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Achievement7",PlayerInfo[playerid][pAchievement7]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Achievement8",PlayerInfo[playerid][pAchievement8]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Achievement9",PlayerInfo[playerid][pAchievement9]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Points",PlayerInfo[playerid][pGPPoints]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Car",gPlayerHasCar[playerid]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Car1",gPlayerHasCar1[playerid]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Boost",PlayerInfo[playerid][pRPBoost]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "BoxingSkill",PlayerInfo[playerid][pBoxingSkill]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "KarateSkill",PlayerInfo[playerid][pKarateSkill]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "BoxFightStyle",PlayerInfo[playerid][pBoxFightStyle]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Ghiozdan",PlayerInfo[playerid][pBag]);
- if ((PlayerInfo[playerid][pPos_x]==0.0 && PlayerInfo[playerid][pPos_y]==0.0 && PlayerInfo[playerid][pPos_z]==0.0))
- {
- PlayerInfo[playerid][pPos_x] = 1684.9;
- PlayerInfo[playerid][pPos_y] = -2244.5;
- PlayerInfo[playerid][pPos_z] = 13.5;
- }
- if(Spectate[playerid] != 255)
- {
- PlayerInfo[playerid][pPos_x] = Unspec[playerid][sPx];
- PlayerInfo[playerid][pPos_y] = Unspec[playerid][sPy];
- PlayerInfo[playerid][pPos_z] = Unspec[playerid][sPz];
- PlayerInfo[playerid][pInt] = Unspec[playerid][sPint];
- PlayerInfo[playerid][pLocal] = Unspec[playerid][sLocal];
- }
- MySQLUpdatePlayerFlo(query, PlayerInfo[playerid][pSQLID], "Pos_x",PlayerInfo[playerid][pPos_x]);
- MySQLUpdatePlayerFlo(query, PlayerInfo[playerid][pSQLID], "Pos_y",PlayerInfo[playerid][pPos_y]);
- MySQLUpdatePlayerFlo(query, PlayerInfo[playerid][pSQLID], "Pos_z",PlayerInfo[playerid][pPos_z]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Tow",PlayerInfo[playerid][pTow]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "CarLic",PlayerInfo[playerid][pCarLic]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "BoatLic",PlayerInfo[playerid][pBoatLic]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "FishLic",PlayerInfo[playerid][pFishLic]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "GunLic",PlayerInfo[playerid][pGunLic]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "MatsLic",PlayerInfo[playerid][pMatsLic]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Passport",PlayerInfo[playerid][pPassport]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Gun1",PlayerInfo[playerid][pGun1]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Gun2",PlayerInfo[playerid][pGun2]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Gun3",PlayerInfo[playerid][pGun3]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Gun4",PlayerInfo[playerid][pGun4]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Ammo1",PlayerInfo[playerid][pAmmo1]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Ammo2",PlayerInfo[playerid][pAmmo2]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Ammo3",PlayerInfo[playerid][pAmmo3]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Ammo4",PlayerInfo[playerid][pAmmo4]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "CarTime",PlayerInfo[playerid][pCarTime]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "PayDay",PlayerInfo[playerid][pPayDay]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "PayDayHad",PlayerInfo[playerid][pPayDayHad]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "PayDayHad2",PlayerInfo[playerid][pPayDayHad2]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "CDPlayer",PlayerInfo[playerid][pCDPlayer]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Wins",PlayerInfo[playerid][pWins]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Loses",PlayerInfo[playerid][pLoses]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "AlcoholPerk",PlayerInfo[playerid][pAlcoholPerk]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "DrugPerk",PlayerInfo[playerid][pDrugPerk]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "MiserPerk",PlayerInfo[playerid][pMiserPerk]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "PainPerk",PlayerInfo[playerid][pPainPerk]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "TraderPerk",PlayerInfo[playerid][pTraderPerk]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Tutorial",PlayerInfo[playerid][pTut]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Mission",PlayerInfo[playerid][pMissionNr]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Warnings",PlayerInfo[playerid][pWarns]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "FWarnings",PlayerInfo[playerid][pFWarns]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Adjustable",PlayerInfo[playerid][pAdjustable]);
- if(PlayerInfo[playerid][pDonateRank] < 1) { PlayerInfo[playerid][pFuel] = 0; }
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Fuel",PlayerInfo[playerid][pFuel]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Married",PlayerInfo[playerid][pMarried]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "MarriedTo",PlayerInfo[playerid][pMarriedTo]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "Epi",PlayerInfo[playerid][pEpi]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "EpiPoints",PlayerInfo[playerid][pEpiPoints]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "EpiON",PlayerInfo[playerid][pEpiON]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "AdoptingAttempt",AdoptingAttempt[playerid]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "AdoptedPerson",AdoptedPerson[playerid]);
- MySQLUpdatePlayerStr(query, PlayerInfo[playerid][pSQLID], "LifeInsurance",LifeInsurance[playerid]);
- }
- }
- /*new file[256], name[24];
- GetPlayerName(playerid, name, 24);
- format(file,sizeof(file),"Cars/%s.ini",name);
- if(dini_Exists(file))
- {
- dini_IntSet(file, "Model", GetVehicleModel(Vehicle[playerid]));
- dini_IntSet(file, "Price", VehicleInfo[playerid][Price]);
- dini_FloatSet(file, "X", VehicleInfo[playerid][CarX]);
- dini_FloatSet(file, "Y", VehicleInfo[playerid][CarY]);
- dini_FloatSet(file, "Z", VehicleInfo[playerid][CarZ]);
- dini_FloatSet(file, "Rot", VehicleInfo[playerid][CarRot]);
- dini_IntSet(file, "Locked", VehicleInfo[playerid][Locked]);
- dini_Set(file, "Plate", VehPlate[Vehicle[playerid]]);
- dini_IntSet(file, "mod1", VehicleInfo[playerid][mod1]);
- dini_IntSet(file, "mod2", VehicleInfo[playerid][mod2]);
- dini_IntSet(file, "mod3", VehicleInfo[playerid][mod3]);
- dini_IntSet(file, "mod4", VehicleInfo[playerid][mod4]);
- dini_IntSet(file, "mod5", VehicleInfo[playerid][mod5]);
- dini_IntSet(file, "mod6", VehicleInfo[playerid][mod6]);
- dini_IntSet(file, "mod7", VehicleInfo[playerid][mod7]);
- dini_IntSet(file, "mod8", VehicleInfo[playerid][mod8]);
- dini_IntSet(file, "mod9", VehicleInfo[playerid][mod9]);
- dini_IntSet(file, "mod10", VehicleInfo[playerid][mod10]);
- dini_IntSet(file, "mod11", VehicleInfo[playerid][mod11]);
- dini_IntSet(file, "mod12", VehicleInfo[playerid][mod12]);
- dini_IntSet(file, "mod13", VehicleInfo[playerid][mod13]);
- dini_IntSet(file, "mod14", VehicleInfo[playerid][mod14]);
- dini_IntSet(file, "mod15", VehicleInfo[playerid][mod15]);
- dini_IntSet(file, "mod16", VehicleInfo[playerid][mod16]);
- dini_IntSet(file, "mod17", VehicleInfo[playerid][mod17]);
- dini_IntSet(file, "paintjob", VehicleInfo[playerid][paintjob]);
- dini_IntSet(file, "color1", VehicleInfo[playerid][colora]);
- dini_IntSet(file, "color2", VehicleInfo[playerid][colorb]);
- dini_IntSet(file, "Towed", VehicleInfo[playerid][towed]);
- SaveTrunk(playerid);
- if(gPlayerHasCar1[playerid] == 1)
- {
- dini_IntSet(file, "Model1", GetVehicleModel(Vehicle1[playerid]));
- dini_IntSet(file, "Price1", VehicleInfo1[playerid][Price1]);
- dini_FloatSet(file, "X1", VehicleInfo1[playerid][CarX1]);
- dini_FloatSet(file, "Y1", VehicleInfo1[playerid][CarY1]);
- dini_FloatSet(file, "Z1", VehicleInfo1[playerid][CarZ1]);
- dini_FloatSet(file, "Rot1", VehicleInfo1[playerid][CarRot1]);
- dini_IntSet(file, "Locked1", VehicleInfo1[playerid][Locked1]);
- dini_Set(file, "Plate1", VehPlate[Vehicle1[playerid]]);
- dini_IntSet(file, "mod11", VehicleInfo1[playerid][mod11]);
- dini_IntSet(file, "mod21", VehicleInfo1[playerid][mod21]);
- dini_IntSet(file, "mod31", VehicleInfo1[playerid][mod31]);
- dini_IntSet(file, "mod41", VehicleInfo1[playerid][mod41]);
- dini_IntSet(file, "mod51", VehicleInfo1[playerid][mod51]);
- dini_IntSet(file, "mod61", VehicleInfo1[playerid][mod61]);
- dini_IntSet(file, "mod71", VehicleInfo1[playerid][mod71]);
- dini_IntSet(file, "mod81", VehicleInfo1[playerid][mod81]);
- dini_IntSet(file, "mod91", VehicleInfo1[playerid][mod91]);
- dini_IntSet(file, "mod101", VehicleInfo1[playerid][mod101]);
- dini_IntSet(file, "mod111", VehicleInfo1[playerid][mod111]);
- dini_IntSet(file, "mod121", VehicleInfo1[playerid][mod121]);
- dini_IntSet(file, "mod131", VehicleInfo1[playerid][mod131]);
- dini_IntSet(file, "mod141", VehicleInfo1[playerid][mod141]);
- dini_IntSet(file, "mod151", VehicleInfo1[playerid][mod151]);
- dini_IntSet(file, "mod161", VehicleInfo1[playerid][mod161]);
- dini_IntSet(file, "mod171", VehicleInfo1[playerid][mod171]);
- dini_IntSet(file, "paintjob1", VehicleInfo1[playerid][paintjob1]);
- dini_IntSet(file, "color11", VehicleInfo1[playerid][colora1]);
- dini_IntSet(file, "color21", VehicleInfo1[playerid][colorb1]);
- dini_IntSet(file, "Towed1", VehicleInfo1[playerid][towed1]);
- DestroyVehicle(Vehicle1[playerid]);
- SaveTrunk(playerid);
- }
- }*/
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement