Advertisement
Guest User

stuff

a guest
Oct 25th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.58 KB | None | 0 0
  1. format(query,sizeof(query),"UPDATE "#DATENBANKTAG"_stuff SET ADPreis='%d', PlayerRekord='%d',Lottojackpot='%d',RentVehsPreis='%d',TerrorSpawn='%d',Lohnsteuer='%f',Kirchensteuer='%f',Mwst='%f',Grundsteuer='%f',OamtStandGebuer='%d',Solidsteuer='%f',WLS='%d',WSF='%d',WLV='%d',PreisLicCar='%d',PreisLicBike='%d',PreisLicRoller='%d',PreisLicPlane='%d',PreisLicHeli='%d',PreisLicBoat='%d',TerrorContractRang='%d',FMeldePreis='%d',",
  2. fsteuern[ADPreis],fsteuern[PlayerRekord],fsteuern[Lottojackpot],fsteuern[RentVehsPreis],fsteuern[TerrorSpawn],fsteuern[Lohnsteuer],fsteuern[Kirchensteuer],fsteuern[Mwst],fsteuern[Grundsteuer],fsteuern[OamtStandGebuer],fsteuern[Solidsteuer],UseBadWeather[0],UseBadWeather[1],UseBadWeather[2],fsteuern[PreisLicCar],fsteuern[PreisLicBike],fsteuern[PreisLicRoller],fsteuern[PreisLicPlane],fsteuern[PreisLicHeli],fsteuern[PreisLicBoat],fsteuern[TerrorContractRang],fsteuern[FMeldePreis]);
  3. strcat(mainquery,query);
  4. strdel(query,0,sizeof(query));
  5. format(query,sizeof(query),"NewspaperPreis='%d',NewspaperText1='%s',NewspaperText2='%s',NewspaperText3='%s',NewspaperText4='%s',NewspaperText5='%s',NewspaperText6='%s',NewspaperText7='%s',NewspaperText8='%s',NewsPaperRealeased='%d',NewsPaperLager1='%d',NewsPaperLager2='%d',EisenLagger1='%d',EisenLagger2='%d',Kartfahrer1='%s',KartTime1='%d',FreemanPrice='%d',wHackPrice='%d',SAPDpay='%d',FBIpay='%d',SAFDpay='%d',ARMYpay='%d',OAMTpay='%d',GOVpay='%d',WorkLessMoney='%d',",
  6. fsteuern[NewspaperPreis],fsteuern[NewspaperText1],fsteuern[NewspaperText2],fsteuern[NewspaperText3],fsteuern[NewspaperText4],fsteuern[NewspaperText5],fsteuern[NewspaperText6],fsteuern[NewspaperText7],fsteuern[NewspaperText8],fsteuern[NewsPaperRealeased],fsteuern[NewsPaperLager][0],fsteuern[NewsPaperLager][1],fsteuern[EisenLagger1],fsteuern[EisenLagger2],fsteuern[Kartfahrer1],fsteuern[KartTime1],fsteuern[FreemanPrice],
  7. fsteuern[wHackPrice],fsteuern[Fgehalt][1],fsteuern[Fgehalt][2],fsteuern[Fgehalt][3],fsteuern[Fgehalt][6],fsteuern[Fgehalt][11],fsteuern[Fgehalt][16],fsteuern[WorkLessMoney]);
  8. strcat(mainquery,query);
  9. strdel(query,0,sizeof(query));
  10. format(query,sizeof(query),"BlitzerToleranz='%d',Reichensteuer='%f',JobSperreFree='%d',AngelLicPrice='%d',PersoLicPrice='%d',WeapPrice='%d',ParkPrice='%d',HolzLagger1='%d',HolzLagger2='%d'",
  11. fsteuern[BlitzerToleranz],fsteuern[Reichensteuer],fsteuern[JobSperreFree],fsteuern[AngelLicPrice],fsteuern[PersoLicPrice],fsteuern[WeapPrice],fsteuern[ParkPrice],fsteuern[HolzLagger1],fsteuern[HolzLagger2]);
  12. strcat(mainquery,query);
  13. strdel(query,0,sizeof(query));
  14. mysql_function_query(MySqlConnection,mainquery,false,"","");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement