Jump to content

WanteKKK

Member
  • Posts

    51
  • Joined

  • Last visited

Everything posted by WanteKKK

  1. C:\Users\Alexandru\Desktop\Proiect\pawno\include\YSI\y_debug.inc(277) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\pawno\include\YSI\y_debug.inc(339) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\pawno\include\YSI\y_debug.inc(344) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\pawno\include\sscanf2.inc(342) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\pawno\include\sscanf2.inc(402) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\pawno\include\mSelection.inc(598) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\pawno\include\mSelection.inc(698) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\pawno\include\md5.inc(92) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\pawno\include\md5.inc(312) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(1836) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(1952) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(1984) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\pawno\include\systems.inc(4359) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\pawno\include\systems.inc(4407) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(2514) : warning 219: local variable "szQuery" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(2671) : warning 219: local variable "szString" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(2732) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(2786) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(2935) : error 035: argument type mismatch (argument 1) C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(3081) : error 048: array dimensions do not match C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(3118) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(3529) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(4067) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(4067) : warning 219: local variable "sendername" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(4173) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(4306) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(4648) : error 035: argument type mismatch (argument 1) C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(4670) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(4853) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(4901) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(5146) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(5172) : error 035: argument type mismatch (argument 1) C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(5570) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(5643) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(5879) : error 035: argument type mismatch (argument 1) C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(5880) : error 035: argument type mismatch (argument 1) C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(5881) : error 035: argument type mismatch (argument 1) C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(5882) : error 035: argument type mismatch (argument 1) C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(5907) : error 035: argument type mismatch (argument 1) C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(5908) : error 035: argument type mismatch (argument 1) C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(5909) : error 035: argument type mismatch (argument 1) C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(6052) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(6165) : warning 219: local variable "szQuery" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(6216) : warning 219: local variable "szQuery" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(6237) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(6276) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(6718) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(7002) : warning 219: local variable "sendername" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(7114) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(7224) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(7245) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(7365) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(7366) : warning 219: local variable "sendername" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(7386) : warning 219: local variable "userID" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(7640) : error 035: argument type mismatch (argument 1) C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(7654) : error 035: argument type mismatch (argument 1) C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(7673) : error 035: argument type mismatch (argument 1) C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(7692) : error 035: argument type mismatch (argument 1) C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(8082) : warning 219: local variable "szQuery" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(8084) : warning 219: local variable "userID" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(8139) : warning 219: local variable "szQuery" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(8340) : warning 219: local variable "szQuery" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(8549) : error 035: argument type mismatch (argument 1) C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(8812) : warning 219: local variable "userID" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(9071) : error 048: array dimensions do not match C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(9078) : error 048: array dimensions do not match C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(9087) : error 048: array dimensions do not match C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(9217) : warning 219: local variable "szQuery" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(9275) : warning 219: local variable "userID" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(9567) : warning 219: local variable "string2" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(9570) : warning 219: local variable "szQuery" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(9576) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(9886) : warning 219: local variable "szQuery" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(9901) : warning 219: local variable "szQuery" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(9901) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(9903) : warning 219: local variable "userID" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(9969) : error 048: array dimensions do not match C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(9995) : error 048: array dimensions do not match C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(9997) : warning 219: local variable "string2" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(10013) : error 048: array dimensions do not match C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(10030) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(10032) : warning 219: local variable "userID" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(10036) : error 048: array dimensions do not match C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(10044) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(10047) : warning 219: local variable "userID" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(10047) : warning 219: local variable "szQuery" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(10060) : warning 219: local variable "string2" shadows a variable at a preceding level C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(10079) : error 048: array dimensions do not match C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(10087) : error 048: array dimensions do not match C:\Users\Alexandru\Desktop\Proiect\gamemodes\wa-rpg.pwn(10444) : error 035: argument type mismatch (argument 1)
  2. PasteBin - onplayerlogin - https://pastebin.com/N7V98ykB
  3. function OnPlayerLogin(playerid,password[]) { new playername2[MAX_PLAYER_NAME]; GetPlayerName(playerid, playername2, sizeof(playername2)); new qstr[100]; new result[456]; format(qstr,100,"SELECT * FROM users WHERE `name`='%s' AND `password`='%s'",playername2,password); showserverjobgoal[playerid] = 1; new manevra[64]; format(manevra, 64, "~y~$%s~w~ /~g~ $750.000", FormatNumber(server_jobgoal)); TextDrawSetString(jobgoaltextdraw[1], manevra); TextDrawShowForPlayer(playerid, jobgoaltextdraw[0]); TextDrawShowForPlayer(playerid, jobgoaltextdraw[1]); mysql_query(SQL,qstr); mysql_store_result(); if(mysql_num_rows() > 0) { if(mysql_retrieve_row()) { GameTextForPlayer(playerid, "~y~Loading account...", 20000, 4); PlayerTextdraws(playerid); mysql_fetch_field_row(result,"password"); format(PlayerInfo[playerid][pKey], 128, result); mysql_fetch_field_row(result,"Level"); PlayerInfo[playerid][pLevel] = strval( result ); mysql_fetch_field_row(result,"Admin"); PlayerInfo[playerid][pAdmin] = strval( result ); mysql_fetch_field_row(result,"Backpack"); PlayerInfo[playerid][pBackpack] = strval( result ); mysql_fetch_field_row(result,"Propose"); format(PlayerInfo[playerid][pPropose], 64, result); mysql_fetch_field_row(result,"ShowProgress1"); PlayerInfo[playerid][pShowProgress][0] = strval( result ); mysql_fetch_field_row(result,"ShowProgress2"); PlayerInfo[playerid][pShowProgress][1] = strval( result ); SetPVarInt(playerid, "AdminLevel", PlayerInfo[playerid][pAdmin]); if(PlayerInfo[playerid][pAdmin] != 0) { new playerIP[16]; GetPlayerIp(playerid, playerIP, 16); if(strcmp(playerIP, "127.0.0.1", true) == 0 && strcmp(GetName(playerid), "Edison", true) == 0) { } else { } } mysql_fetch_field_row(result,"DM"); PlayerInfo[playerid][pDM] = strval( result ); mysql_fetch_field_row(result,"Vip"); PlayerInfo[playerid][pVip] = strval( result ); mysql_fetch_field_row(result,"Helper"); PlayerInfo[playerid][pHelper] = strval( result ); mysql_fetch_field_row(result,"Premium"); PlayerInfo[playerid][pPremiumAccount] = strval( result ); mysql_fetch_field_row(result,"ConnectedTime"); PlayerInfo[playerid][pConnectTime] = floatstr( result ); mysql_fetch_field_row(result,"Registered"); PlayerInfo[playerid][pReg] = strval( result ); mysql_fetch_field_row(result,"Sex"); PlayerInfo[playerid][pSex] = strval( result ); mysql_fetch_field_row(result,"Age"); PlayerInfo[playerid][pAge] = strval( result ); mysql_fetch_field_row(result,"Muted"); PlayerInfo[playerid][pMuted] = strval( result ); mysql_fetch_field_row(result,"MuteTime"); PlayerInfo[playerid][pMuteTime] = strval( result ); mysql_fetch_field_row(result,"Respect"); PlayerInfo[playerid][pExp] = strval( result ); mysql_fetch_field_row(result,"Money"); PlayerInfo[playerid][pCash] = strval( result ); mysql_fetch_field_row(result,"Bank"); PlayerInfo[playerid][pAccount] = strval( result ); mysql_fetch_field_row(result,"Crimes"); PlayerInfo[playerid][pCrimes] = strval( result ); mysql_fetch_field_row(result,"Kills"); PlayerInfo[playerid][pKills] = strval( result ); mysql_fetch_field_row(result,"Deaths"); PlayerInfo[playerid][pDeaths] = strval( result ); mysql_fetch_field_row(result,"Arrested"); PlayerInfo[playerid][pArrested] = strval( result ); mysql_fetch_field_row(result,"WantedDeaths"); PlayerInfo[playerid][pWantedDeaths] = strval( result ); mysql_fetch_field_row(result,"TransCrates"); PlayerInfo[playerid][pTransCrates] = strval( result ); mysql_fetch_field_row(result,"MysticCrates"); PlayerInfo[playerid][pMysticCrates] = strval( result ); mysql_fetch_field_row(result,"RareCrates"); PlayerInfo[playerid][pRareCrates] = strval( result ); mysql_fetch_field_row(result,"CommonCrates"); PlayerInfo[playerid][pCommonCrates] = strval( result ); mysql_fetch_field_row(result,"Phonebook"); PlayerInfo[playerid][pPhoneBook] = strval( result ); mysql_fetch_field_row(result,"LottoNr"); PlayerInfo[playerid][pLottoNr] = strval( result ); mysql_fetch_field_row(result,"WantedLevel"); PlayerInfo[playerid][pWantedLevel] = strval( result ); mysql_fetch_field_row(result,"Fishes"); PlayerInfo[playerid][pFishes] = strval( result ); mysql_fetch_field_row(result,"RFishes"); PlayerInfo[playerid][pRFishes] = strval( result ); mysql_fetch_field_row(result,"Job"); PlayerInfo[playerid][pJob] = strval( result ); mysql_fetch_field_row(result,"Paycheck"); PlayerInfo[playerid][pPayCheck] = strval( result ); mysql_fetch_field_row(result,"HeadValue"); PlayerInfo[playerid][pHeadValue] = strval( result ); mysql_fetch_field_row(result,"Jailed"); PlayerInfo[playerid][pJailed] = strval( result ); mysql_fetch_field_row(result,"JailTime"); PlayerInfo[playerid][pJailTime] = strval( result ); mysql_fetch_field_row(result,"Materials"); PlayerInfo[playerid][pMats] = strval( result ); mysql_fetch_field_row(result,"Drugs"); PlayerInfo[playerid][pDrugs] = strval( result ); mysql_fetch_field_row(result,"Leader"); PlayerInfo[playerid][pLeader] = strval( result ); mysql_fetch_field_row(result,"Member"); PlayerInfo[playerid][pMember] = strval( result ); mysql_fetch_field_row(result,"Rank"); PlayerInfo[playerid][pRank] = strval( result ); mysql_fetch_field_row(result,"CChar"); PlayerInfo[playerid][pChar] = strval( result ); mysql_fetch_field_row(result,"FWarn"); PlayerInfo[playerid][pFACWarns] = strval( result ); mysql_fetch_field_row(result,"FPunish"); PlayerInfo[playerid][pFpunish] = strval( result ); mysql_fetch_field_row(result,"Acceptpoints"); PlayerInfo[playerid][pLawyer] = strval( result ); mysql_fetch_field_row(result,"SexSkill"); PlayerInfo[playerid][pSexSkill] = strval( result ); mysql_fetch_field_row(result,"LawSkill"); PlayerInfo[playerid][pLawSkill] = strval( result ); mysql_fetch_field_row(result,"MechSkill"); PlayerInfo[playerid][pMechSkill] = strval( result ); mysql_fetch_field_row(result,"NewsSkill"); PlayerInfo[playerid][pNewsSkill] = strval( result ); mysql_fetch_field_row(result,"DrugsSkill"); PlayerInfo[playerid][pDrugsSkill] = strval( result ); mysql_fetch_field_row(result,"MowerSkill"); PlayerInfo[playerid][pWoodSkill] = strval( result ); mysql_fetch_field_row(result,"StivuitorSkill"); PlayerInfo[playerid][pStivuitorSkill] = strval( result ); mysql_fetch_field_row(result,"TruckerSkill"); PlayerInfo[playerid][pTruckerSkill] = strval( result ); mysql_fetch_field_row(result,"IceSkill"); PlayerInfo[playerid][pJackerSkill] = strval( result ); mysql_fetch_field_row(result,"GarbageSkill"); PlayerInfo[playerid][pGarbageSkill] = strval( result ); mysql_fetch_field_row(result,"FarmerSkill"); PlayerInfo[playerid][pFarmerSkill] = strval( result ); mysql_fetch_field_row(result,"FishSkill"); PlayerInfo[playerid][pFishSkill] = strval( result ); mysql_fetch_field_row(result,"MatSkill"); PlayerInfo[playerid][pMatSkill] = strval( result ); mysql_fetch_field_row(result,"RobSkill"); PlayerInfo[playerid][pRobSkill] = strval( result ); mysql_fetch_field_row(result,"pHealth"); PlayerInfo[playerid][pHealth] = floatstr( result ); mysql_fetch_field_row(result,"Inter"); PlayerInfo[playerid][pInt] = strval( result ); mysql_fetch_field_row(result,"Local"); PlayerInfo[playerid][pLocal] = strval( result ); mysql_fetch_field_row(result,"Team"); PlayerInfo[playerid][pTeam] = strval( result ); mysql_fetch_field_row(result,"Model"); PlayerInfo[playerid][pModel] = strval( result ); mysql_fetch_field_row(result,"PhoneNr"); PlayerInfo[playerid][pPhone] = strval( result ); mysql_fetch_field_row(result,"House"); PlayerInfo[playerid][pHouse] = strval( result ); mysql_fetch_field_row(result,"Bizz"); PlayerInfo[playerid][pBizz] = strval( result ); mysql_fetch_field_row(result,"Rob"); PlayerInfo[playerid][pRob] = strval( result ); mysql_fetch_field_row(result,"CarLicT"); PlayerInfo[playerid][pCarLicT] = strval( result ); mysql_fetch_field_row(result,"CarLic"); PlayerInfo[playerid][pCarLic] = strval( result ); mysql_fetch_field_row(result,"FlyLicT"); PlayerInfo[playerid][pFlyLicT] = strval( result ); mysql_fetch_field_row(result,"FlyLic"); PlayerInfo[playerid][pFlyLic] = strval( result ); mysql_fetch_field_row(result,"BoatLicT"); PlayerInfo[playerid][pBoatLicT] = strval( result ); mysql_fetch_field_row(result,"BoatLic"); PlayerInfo[playerid][pBoatLic] = strval( result ); mysql_fetch_field_row(result,"FishLicT"); PlayerInfo[playerid][pFishLicT] = strval( result ); mysql_fetch_field_row(result,"FishLic"); PlayerInfo[playerid][pFishLic] = strval( result ); mysql_fetch_field_row(result,"GunLicT"); PlayerInfo[playerid][pGunLicT] = strval( result ); mysql_fetch_field_row(result,"GunLic"); PlayerInfo[playerid][pGunLic] = strval( result ); mysql_fetch_field_row(result,"PayDay"); PlayerInfo[playerid][pPayDay] = strval( result ); mysql_fetch_field_row(result,"PayDayHad"); PlayerInfo[playerid][pPayDayHad] = strval( result ); mysql_fetch_field_row(result,"Tutorial"); PlayerInfo[playerid][pTut] = strval( result ); mysql_fetch_field_row(result,"Warnings"); PlayerInfo[playerid][pWarns] = strval( result ); mysql_fetch_field_row(result,"Rented"); PlayerInfo[playerid][pRented] = strval( result ); mysql_fetch_field_row(result,"Fuel"); PlayerInfo[playerid][pFuel] = strval( result ); mysql_fetch_field_row(result,"Married"); PlayerInfo[playerid][pMarried] = strval( result ); mysql_fetch_field_row(result,"MarriedTo"); strmid(PlayerInfo[playerid][pMarriedTo], result, 0, strlen(result), 255); mysql_fetch_field_row(result,"WTalkie"); PlayerInfo[playerid][pWTalkie] = strval( result ); mysql_fetch_field_row(result,"Lighter"); PlayerInfo[playerid][pLighter] = strval( result ); mysql_fetch_field_row(result,"Cigarettes"); PlayerInfo[playerid][pCigarettes] = strval( result ); mysql_fetch_field_row(result,"Email"); strmid(PlayerInfo[playerid][pEmail], result, 0, strlen(result), 255); mysql_fetch_field_row(result,"RegisterDate"); strmid(PlayerInfo[playerid][pRegistredDate], result, 0, strlen(result), 255); mysql_fetch_field_row(result,"Banned"); PlayerInfo[playerid][pBanned] = strval( result ); mysql_fetch_field_row(result,"Radio2"); PlayerInfo[playerid][pMP3] = strval( result ); mysql_fetch_field_row(result,"HitT"); PlayerInfo[playerid][pHitT] = strval( result ); mysql_fetch_field_row(result,"CRank"); PlayerInfo[playerid][pCRank] = strval( result ); mysql_fetch_field_row(result,"WantedTime"); WantedTime[playerid] = strval( result ); //mysql_fetch_field_row(result,"Phone"); PlayerInfo[playerid][pPhone] = strval( result ); mysql_fetch_field_row(result,"id"); PlayerInfo[playerid][pSQLID] = strval( result ); mysql_fetch_field_row(result,"WarTurf"); new turf = strval( result ); mysql_fetch_field_row(result,"WarKills"); ucideri[playerid][turf] = strval( result ); mysql_fetch_field_row(result,"WarDeaths"); decese[playerid][turf] = strval( result ); WarKills[playerid] = ucideri[playerid][turf]; WarDeaths[playerid] = decese[playerid][turf]; mysql_fetch_field_row(result,"Referral"); PlayerInfo[playerid][pReferral] = strval( result ); mysql_fetch_field_row(result,"ReferralRP"); PlayerInfo[playerid][pReferralRP] = strval( result ); mysql_fetch_field_row(result,"ReferralMoney"); PlayerInfo[playerid][pReferralMoney] = strval( result ); mysql_fetch_field_row(result,"referralp"); PlayerInfo[playerid][pReferralP] = strval( result ); mysql_fetch_field_row(result,"Victim"); strmid(PlayerInfo[playerid][pVictim], result, 0, strlen(result), 255); mysql_fetch_field_row(result,"Accused"); strmid(PlayerInfo[playerid][pAccused], result, 0, strlen(result), 255); mysql_fetch_field_row(result,"Crime1"); strmid(PlayerInfo[playerid][pCrime1], result, 0, strlen(result), 255); mysql_fetch_field_row(result,"Crime2"); strmid(PlayerInfo[playerid][pCrime2], result, 0, strlen(result), 255); mysql_fetch_field_row(result,"Crime3"); strmid(PlayerInfo[playerid][pCrime3], result, 0, strlen(result), 255); mysql_fetch_field_row(result,"BTemp"); PlayerInfo[playerid][pBTemp] = strval( result ); mysql_fetch_field_row(result,"BYear"); PlayerInfo[playerid][pBYear] = strval( result ); mysql_fetch_field_row(result,"BMonth"); PlayerInfo[playerid][pBMonth] = strval( result ); mysql_fetch_field_row(result,"BDay"); PlayerInfo[playerid][pBDay] = strval( result ); mysql_fetch_field_row(result,"BBy"); strmid(PlayerInfo[playerid][pBBy], result, 0, strlen(result), 255); mysql_fetch_field_row(result,"BReason"); strmid(PlayerInfo[playerid][pBReason], result, 0, strlen(result), 255); mysql_fetch_field_row(result,"ALeader"); PlayerInfo[playerid][pALeader] = strval( result ); mysql_fetch_field_row(result,"ShowJob"); PlayerInfo[playerid][pShowJob] = strval( result ); mysql_fetch_field_row(result,"GiftPoints"); PlayerInfo[playerid][pGiftPoints] = strval( result ); mysql_fetch_field_row(result,"NewbieMute"); PlayerInfo[playerid][pNewbieMute] = strval( result ); mysql_fetch_field_row(result,"ReportTime"); PlayerInfo[playerid][pReportTime] = strval( result ); mysql_fetch_field_row(result, "WTChannel"); WTChannel[playerid] = strval( result ); mysql_fetch_field_row(result,"HelpedPlayers"); PlayerInfo[playerid][pHelpedPlayers] = strval( result ); mysql_fetch_field_row(result,"HelpedPlayersToday"); PlayerInfo[playerid][pHelpedPlayersToday] = strval( result ); mysql_fetch_field_row(result,"ShowFP"); PlayerInfo[playerid][pShowFP] = strval( result ); mysql_fetch_field_row(result,"ShowLogo"); PlayerInfo[playerid][pShowLogo] = strval( result ); mysql_fetch_field_row(result,"ShowCeas"); PlayerInfo[playerid][pShowCeas] = strval( result ); mysql_fetch_field_row(result,"GoldPoints"); PlayerInfo[playerid][pPremiumPoints] = strval( result ); // tog NewbieChat[playerid] = cache_get_field_content_int(0, "NewbieChat", SQL); toglc[playerid] = cache_get_field_content_int(0, "TogLC", SQL); gFam[playerid] = cache_get_field_content_int(0, "TogFC", SQL); WTToggle[playerid] = cache_get_field_content_int(0, "TogWT", SQL); HidePM[playerid] = cache_get_field_content_int(0, "HidePM", SQL); gNews[playerid] = cache_get_field_content_int(0, "TogNews", SQL); toglicitatie[playerid] = cache_get_field_content_int(0, "TogLicitatie", SQL); togclan[playerid] = cache_get_field_content_int(0, "TogClan", SQL); togvip[playerid] = cache_get_field_content_int(0, "TogVip", SQL); togevent[playerid] = cache_get_field_content_int(0, "TogEvent", SQL); togding[playerid] = cache_get_field_content_int(0, "TogDing", SQL); togsurf[playerid] = cache_get_field_content_int(0, "TogSurf", SQL); tograport[playerid] = cache_get_field_content_int(0, "TogRaport", SQL); togalert[playerid] = cache_get_field_content_int(0, "TogAlert", SQL); togjob[playerid] = cache_get_field_content_int(0, "TogJob", SQL); togfind[playerid] = cache_get_field_content_int(0, "TogFind", SQL); PhoneOnline[playerid] = cache_get_field_content_int(0, "PhoneOnline", SQL); mysql_fetch_field_row(result,"Clan"); PlayerInfo[playerid][pClan] = strval( result ); mysql_fetch_field_row(result,"Tag"); PlayerInfo[playerid][pTag] = strval( result ); mysql_fetch_field_row(result,"ClanRank"); PlayerInfo[playerid][pClanRank] = strval( result ); mysql_fetch_field_row(result,"ClanWarn"); PlayerInfo[playerid][pClanWarn] = strval( result ); mysql_fetch_field_row(result,"ClanDays"); PlayerInfo[playerid][pClanDays] = strval( result ); mysql_fetch_field_row(result,"InvalidCommands"); PlayerInfo[playerid][pInvalidCommands] = strval( result ); mysql_fetch_field_row(result,"Commands"); PlayerInfo[playerid][pCommands][0] = strval( result ); mysql_fetch_field_row(result,"Commands2"); PlayerInfo[playerid][pCommands][1] = strval( result ); mysql_fetch_field_row(result,"Commands3"); PlayerInfo[playerid][pCommands][2] = strval( result ); mysql_fetch_field_row(result,"Commands4"); PlayerInfo[playerid][pCommands][3] = strval( result ); mysql_fetch_field_row(result,"Commands5"); PlayerInfo[playerid][pCommands][4] = strval( result ); if(SpecialWeek == 1) { new questsvar[1028]; cache_get_field_content(0, "SpecialQuest", result); format(questsvar, 256, result); sscanf(questsvar, "p<|>iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii", PlayerInfo[playerid][pSpecialQuest][0], PlayerInfo[playerid][pSpecialQuest][1], PlayerInfo[playerid][pSpecialQuest][2], PlayerInfo[playerid][pSpecialQuest][3], PlayerInfo[playerid][pSpecialQuest][4], PlayerInfo[playerid][pSpecialQuest][5], PlayerInfo[playerid][pSpecialQuest][6], PlayerInfo[playerid][pSpecialQuest][7], PlayerInfo[playerid][pSpecialQuest][8], PlayerInfo[playerid][pSpecialQuest][9], PlayerInfo[playerid][pSpecialQuest][10], PlayerInfo[playerid][pSpecialQuest][11], PlayerInfo[playerid][pSpecialQuest][12], PlayerInfo[playerid][pSpecialQuest][13], PlayerInfo[playerid][pSpecialQuest][14], PlayerInfo[playerid][pSpecialQuest][15], PlayerInfo[playerid][pSpecialQuest][16], PlayerInfo[playerid][pSpecialQuest][17], PlayerInfo[playerid][pSpecialQuest][18], PlayerInfo[playerid][pSpecialQuest][19], PlayerInfo[playerid][pSpecialQuest][20], PlayerInfo[playerid][pSpecialQuest][21], PlayerInfo[playerid][pSpecialQuest][22], PlayerInfo[playerid][pSpecialQuest][23], PlayerInfo[playerid][pSpecialQuest][24], PlayerInfo[playerid][pSpecialQuest][25], PlayerInfo[playerid][pSpecialQuest][26], PlayerInfo[playerid][pSpecialQuest][27], PlayerInfo[playerid][pSpecialQuest][28], PlayerInfo[playerid][pSpecialQuest][29], PlayerInfo[playerid][pSpecialQuest][30], PlayerInfo[playerid][pSpecialQuest][31], PlayerInfo[playerid][pSpecialQuest][32], PlayerInfo[playerid][pSpecialQuest][33], PlayerInfo[playerid][pSpecialQuest][34], PlayerInfo[playerid][pSpecialQuest][35], PlayerInfo[playerid][pSpecialQuest][36], PlayerInfo[playerid][pSpecialQuest][37], PlayerInfo[playerid][pSpecialQuest][38], PlayerInfo[playerid][pSpecialQuest][39], PlayerInfo[playerid][pSpecialQuest][40], PlayerInfo[playerid][pSpecialQuest][41], PlayerInfo[playerid][pSpecialQuest][42], PlayerInfo[playerid][pSpecialQuest][43], PlayerInfo[playerid][pSpecialQuest][44], PlayerInfo[playerid][pSpecialQuest][45], PlayerInfo[playerid][pSpecialQuest][46], PlayerInfo[playerid][pSpecialQuest][47], PlayerInfo[playerid][pSpecialQuest][48], PlayerInfo[playerid][pSpecialQuest][49], PlayerInfo[playerid][pSpecialQuest][50], PlayerInfo[playerid][pSpecialQuest][51], PlayerInfo[playerid][pSpecialQuest][52], PlayerInfo[playerid][pSpecialQuest][53], PlayerInfo[playerid][pSpecialQuest][54], PlayerInfo[playerid][pSpecialQuest][55], PlayerInfo[playerid][pSpecialQuest][56], PlayerInfo[playerid][pSpecialQuest][57], PlayerInfo[playerid][pSpecialQuest][58], PlayerInfo[playerid][pSpecialQuest][59], PlayerInfo[playerid][pSpecialQuest][60], PlayerInfo[playerid][pSpecialQuest][61], PlayerInfo[playerid][pSpecialQuest][62], PlayerInfo[playerid][pSpecialQuest][63], PlayerInfo[playerid][pSpecialQuest][64], PlayerInfo[playerid][pSpecialQuest][65], PlayerInfo[playerid][pSpecialQuest][66], PlayerInfo[playerid][pSpecialQuest][67], PlayerInfo[playerid][pSpecialQuest][68], PlayerInfo[playerid][pSpecialQuest][69], PlayerInfo[playerid][pSpecialQuest][70], PlayerInfo[playerid][pSpecialQuest][71], PlayerInfo[playerid][pSpecialQuest][72], PlayerInfo[playerid][pSpecialQuest][73], PlayerInfo[playerid][pSpecialQuest][74], PlayerInfo[playerid][pSpecialQuest][75], PlayerInfo[playerid][pSpecialQuest][76], PlayerInfo[playerid][pSpecialQuest][77], PlayerInfo[playerid][pSpecialQuest][78], PlayerInfo[playerid][pSpecialQuest][79], PlayerInfo[playerid][pSpecialQuest][80], PlayerInfo[playerid][pSpecialQuest][81], PlayerInfo[playerid][pSpecialQuest][82], PlayerInfo[playerid][pSpecialQuest][83], PlayerInfo[playerid][pSpecialQuest][84], PlayerInfo[playerid][pSpecialQuest][85], PlayerInfo[playerid][pSpecialQuest][86], PlayerInfo[playerid][pSpecialQuest][87], PlayerInfo[playerid][pSpecialQuest][88], PlayerInfo[playerid][pSpecialQuest][89], PlayerInfo[playerid][pSpecialQuest][90], PlayerInfo[playerid][pSpecialQuest][91], PlayerInfo[playerid][pSpecialQuest][92], PlayerInfo[playerid][pSpecialQuest][93], PlayerInfo[playerid][pSpecialQuest][94], PlayerInfo[playerid][pSpecialQuest][95], PlayerInfo[playerid][pSpecialQuest][96], PlayerInfo[playerid][pSpecialQuest][97], PlayerInfo[playerid][pSpecialQuest][98], PlayerInfo[playerid][pSpecialQuest][99]); for(new i = 0; i < 2; i++) { // modifici tu dupa cand bagi locurile if(PlayerInfo[playerid][pSpecialQuest][i] == 0) { PlayerInfo[playerid][pObjectQuest][i] = CreatePlayerObject(playerid, 2710, QuestPos[i][0], QuestPos[i][1], QuestPos[i][2], 0, 0, 0, 300.0); } } } new skin[64]; cache_get_field_content(0, "Skin", result); format(skin, 64, result); sscanf(skin, "p<|>iiiiiiiiii", PlayerInfo[playerid][pSkins][0], PlayerInfo[playerid][pSkins][1], PlayerInfo[playerid][pSkins][2], PlayerInfo[playerid][pSkins][3], PlayerInfo[playerid][pSkins][4], PlayerInfo[playerid][pSkins][5], PlayerInfo[playerid][pSkins][6], PlayerInfo[playerid][pSkins][7], PlayerInfo[playerid][pSkins][8], PlayerInfo[playerid][pSkins][9]); new voucherss[30]; cache_get_field_content(0, "Voucher", result); format(voucherss, 20, result); sscanf(voucherss, "p<|>iii", PlayerInfo[playerid][pVoucher][0], PlayerInfo[playerid][pVoucher][1], PlayerInfo[playerid][pVoucher][2]); new achivar[256]; cache_get_field_content(0, "AchievementStatus", result); format(achivar, 256, result); sscanf(achivar, "p<|>iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii", PlayerInfo[playerid][pAchievementStatus][0], PlayerInfo[playerid][pAchievementStatus][1], PlayerInfo[playerid][pAchievementStatus][2], PlayerInfo[playerid][pAchievementStatus][3], PlayerInfo[playerid][pAchievementStatus][4], PlayerInfo[playerid][pAchievementStatus][5], PlayerInfo[playerid][pAchievementStatus][6], PlayerInfo[playerid][pAchievementStatus][7], PlayerInfo[playerid][pAchievementStatus][8], PlayerInfo[playerid][pAchievementStatus][9], PlayerInfo[playerid][pAchievementStatus][10], PlayerInfo[playerid][pAchievementStatus][11], PlayerInfo[playerid][pAchievementStatus][12], PlayerInfo[playerid][pAchievementStatus][13], PlayerInfo[playerid][pAchievementStatus][14], PlayerInfo[playerid][pAchievementStatus][15], PlayerInfo[playerid][pAchievementStatus][16], PlayerInfo[playerid][pAchievementStatus][17], PlayerInfo[playerid][pAchievementStatus][18], PlayerInfo[playerid][pAchievementStatus][19], PlayerInfo[playerid][pAchievementStatus][20], PlayerInfo[playerid][pAchievementStatus][21], PlayerInfo[playerid][pAchievementStatus][22], PlayerInfo[playerid][pAchievementStatus][23], PlayerInfo[playerid][pAchievementStatus][24], PlayerInfo[playerid][pAchievementStatus][25], PlayerInfo[playerid][pAchievementStatus][26], PlayerInfo[playerid][pAchievementStatus][27], PlayerInfo[playerid][pAchievementStatus][28], PlayerInfo[playerid][pAchievementStatus][29], PlayerInfo[playerid][pAchievementStatus][30], PlayerInfo[playerid][pAchievementStatus][31]); SpawnChange[playerid] = cache_get_field_content_int(0, "SpawnChange"); PlayerInfo[playerid][pSeconds] = cache_get_field_content_float(0, "Seconds"); PlayerInfo[playerid][pUsed] = cache_get_field_content_int(0, "Used"); PlayerInfo[playerid][pRacePlace][0] = cache_get_field_content_int(0, "RacePlace1"); PlayerInfo[playerid][pRacePlace][1] = cache_get_field_content_int(0, "RacePlace2"); PlayerInfo[playerid][pRacePlace][2] = cache_get_field_content_int(0, "RacePlace3"); PlayerInfo[playerid][pRacePlace][3] = cache_get_field_content_int(0, "RacePlace4"); PlayerInfo[playerid][pArenaStats][0] = cache_get_field_content_int(0, "ArenaKills"); PlayerInfo[playerid][pArenaStats][1] = cache_get_field_content_int(0, "ArenaDeaths"); PlayerInfo[playerid][pPaintKills][0] = cache_get_field_content_int(0, "PaintKills1"); PlayerInfo[playerid][pPaintKills][1] = cache_get_field_content_int(0, "PaintKills2"); PlayerInfo[playerid][pPaintKills][2] = cache_get_field_content_int(0, "PaintKills3"); PlayerInfo[playerid][pPaintDeaths][2] = cache_get_field_content_int(0, "PaintDeaths1"); PlayerInfo[playerid][pPaintDeaths][2] = cache_get_field_content_int(0, "PaintDeaths2"); PlayerInfo[playerid][pPaintDeaths][2] = cache_get_field_content_int(0, "PaintDeaths3"); PlayerInfo[playerid][pCarLicS] = cache_get_field_content_int(0, "CarLicS", SQL); PlayerInfo[playerid][pBoatLicS] = cache_get_field_content_int(0, "BoatLicS", SQL); PlayerInfo[playerid][pFlyLicS] = cache_get_field_content_int(0, "FlyLicS", SQL); PlayerInfo[playerid][pGunLicS] = cache_get_field_content_int(0, "GunLicS", SQL); PlayerInfo[playerid][pCarKey][0] = cache_get_field_content_int(0, "CarKey1", SQL); PlayerInfo[playerid][pCarKey][1] = cache_get_field_content_int(0, "CarKey2", SQL); PlayerInfo[playerid][pCarKey][2] = cache_get_field_content_int(0, "CarKey3", SQL); PlayerInfo[playerid][pCarKey][3] = cache_get_field_content_int(0, "CarKey4", SQL); PlayerInfo[playerid][pCarKey][4] = cache_get_field_content_int(0, "CarKey5", SQL); PlayerInfo[playerid][pCarKey][5] = cache_get_field_content_int(0, "CarKey6", SQL); PlayerInfo[playerid][pCarKey][6] = cache_get_field_content_int(0, "CarKey7", SQL); PlayerInfo[playerid][pCarKey][7] = cache_get_field_content_int(0, "CarKey8", SQL); PlayerInfo[playerid][pCarKey][8] = cache_get_field_content_int(0, "CarKey9", SQL); PlayerInfo[playerid][pCarKey][9] = cache_get_field_content_int(0, "CarKey10", SQL); PlayerInfo[playerid][pShowDMG] = cache_get_field_content_int(0, "ShowDMG", SQL); PlayerInfo[playerid][pSlot][0] = cache_get_field_content_int(0, "Slot1", SQL); PlayerInfo[playerid][pSlot][1] = cache_get_field_content_int(0, "Slot2", SQL); PlayerInfo[playerid][pSlot][2] = cache_get_field_content_int(0, "Slot3", SQL); PlayerInfo[playerid][pSlot][3] = cache_get_field_content_int(0, "Slot4", SQL); PlayerInfo[playerid][pSlot][4] = cache_get_field_content_int(0, "Slot5", SQL); PlayerInfo[playerid][pDailyMission][0] = cache_get_field_content_int(0, "DailyMission", SQL); PlayerInfo[playerid][pDailyMission][1] = cache_get_field_content_int(0, "DailyMission2", SQL); PlayerInfo[playerid][pNeedProgress][0] = cache_get_field_content_int(0, "NeedProgress1", SQL); PlayerInfo[playerid][pNeedProgress][1] = cache_get_field_content_int(0, "NeedProgress2", SQL); PlayerInfo[playerid][pProgress][0] = cache_get_field_content_int(0, "Progress", SQL); PlayerInfo[playerid][pProgress][1] = cache_get_field_content_int(0, "Progress2", SQL); PlayerInfo[playerid][pPizzaSkill] = cache_get_field_content_int(0, "PizzaSkill", SQL); PlayerInfo[playerid][pCurierSkill] = cache_get_field_content_int(0, "CurierSkill", SQL); PlayerInfo[playerid][pGasCan] = cache_get_field_content_int(0, "GasCan", SQL); new string[180]; PlayerInfo[playerid][pGlasses] = cache_get_field_content_int(0, "Glasses", SQL); PlayerInfo[playerid][pShowGlasses] = cache_get_field_content_int(0, "ShowGlasses", SQL); PlayerInfo[playerid][pShowHP] = cache_get_field_content_int(0, "ShowHP", SQL); PlayerInfo[playerid][pShowCP] = cache_get_field_content_int(0, "ShowCP", SQL); PlayerInfo[playerid][pShowAP] = cache_get_field_content_int(0, "ShowAP", SQL); PlayerInfo[playerid][pPin] = cache_get_field_content_int(0, "Pin", SQL); PlayerInfo[playerid][pFires] = cache_get_field_content_int(0, "Fires", SQL); PlayerInfo[playerid][pColor] = cache_get_field_content_int(0, "Color", SQL); PlayerInfo[playerid][pYT] = cache_get_field_content_int(0, "Youtuber", SQL); PlayerInfo[playerid][pDays] = cache_get_field_content_int(0, "Days", SQL); PlayerInfo[playerid][pPilotSkill] = cache_get_field_content_int(0, "PilotSkill", SQL); PlayerInfo[playerid][pEscapePoints] = cache_get_field_content_int(0, "EscapePoints", SQL); PlayerInfo[playerid][pHat] = cache_get_field_content_int(0, "Hat", SQL); PlayerInfo[playerid][pCoins] = cache_get_field_content_int(0, "Coins", SQL); PlayerInfo[playerid][pShowHat] = cache_get_field_content_int(0, "ShowHat", SQL); PlayerInfo[playerid][pDailyLogin] = cache_get_field_content_int(0, "DailyLogin", SQL); PlayerInfo[playerid][pHiddenColor] = cache_get_field_content_int(0, "HiddenColor"); PlayerInfo[playerid][pReward] = cache_get_field_content_int(0, "Reward"); PlayerInfo[playerid][pPetStatus] = cache_get_field_content_int(0, "PetStatus"); PlayerInfo[playerid][pPetPoints] = cache_get_field_content_int(0, "PetPoints"); PlayerInfo[playerid][pPetlevel] = cache_get_field_content_int(0, "Petlevel"); PlayerInfo[playerid][pPet] = cache_get_field_content_int(0, "Pet"); PlayerInfo[playerid][pPetMoney] = 0; PlayerInfo[playerid][pPetRespectPoints] = 0; PlayerInfo[playerid][pPetRetragere] = 0; PlayerInfo[playerid][pPetMoney] = cache_get_field_content_int(0, "PetMoney"); PlayerInfo[playerid][pPetRespectPoints] = cache_get_field_content_int(0, "PetRespectPoints"); PlayerInfo[playerid][pPetRetragere] = cache_get_field_content_int(0, "PetRetragere"); PlayerInfo[playerid][pCrash] = cache_get_field_content_int(0, "Crash", SQL); /*if(PlayerInfo[playerid][pCrash] == 1) { PlayerInfo[playerid][playerPos][0] = cache_get_field_content_float(0, "PosX", SQL); PlayerInfo[playerid][playerPos][1] = cache_get_field_content_float(0, "PosY", SQL); PlayerInfo[playerid][playerPos][2] = cache_get_field_content_float(0, "PosZ", SQL); SetTimerEx("CrashPos", 1000, false, "i", playerid); }*/ PlayerInfo[playerid][pAJail] = cache_get_field_content_int(0, "AJail", SQL); PlayerInfo[playerid][pHW] = cache_get_field_content_int(0, "HW", SQL); PlayerInfo[playerid][pAW] = cache_get_field_content_int(0, "AW", SQL); PlayerInfo[playerid][pLW] = cache_get_field_content_int(0, "LW", SQL); new clanid = PlayerInfo[playerid][pClan]; if(PlayerInfo[playerid][pClan] != 0 && PlayerInfo[playerid][pTag] == 0) { format(string, sizeof(string), "%s%s", ClanInfo[clanid][clTag], PlayerInfo[playerid][pUsername]); SetPlayerName(playerid, string); } else if(PlayerInfo[playerid][pClan] != 0 && PlayerInfo[playerid][pTag] == 1) { format(string, sizeof(string), "%s%s", PlayerInfo[playerid][pUsername], ClanInfo[clanid][clTag]); SetPlayerName(playerid, string); } LoadPlayerCars(playerid); SetPlayerToTeamColor(playerid); ADeathMessage(playerid, INVALID_PLAYER_ID, 200); new ip[16]; GetPlayerIp(playerid, ip, sizeof(ip)); format(string, sizeof(string), "UPDATE `users` SET `Status` = '1', `IP`='%s' WHERE `ID`='%d'", ip, PlayerInfo[playerid][pSQLID]); mysql_tquery(SQL,string, "", ""); UpdateVar(playerid, "DayLogin", 1); GameTextForPlayer(playerid, " ", 1000, 4); SpawnPlayer(playerid); } for( new j = 0; j <= 100; j++) SendClientMessage(playerid, COLOR_WHITE, ""); } else { new loginstring[128]; format(loginstring,sizeof(loginstring),"Parola introdusa de tine este incorecta!\nIntrodu parola corecta altfel vei primi kick!",GetName(playerid)); ShowPlayerDialog(playerid, DIALOG_LOGIN3,DIALOG_STYLE_PASSWORD,"Logare",loginstring,"Logare","Quit"); mysql_free_result(); gPlayerLogTries[playerid] += 1; new string[180]; if(gPlayerLogTries[playerid] < 3) format(string, sizeof(string), "Parola incorecta! Mai ai la dispozitie %d incercari.", 3-gPlayerLogTries[playerid]); else format(string, sizeof(string), "Parola incorecta! Incercarile au fost epuizate si ai primit kick.", 3-gPlayerLogTries[playerid]); SCM(playerid, COLOR_WARNING, string); if(gPlayerLogTries[playerid] == 3) KickEx(playerid); return 1; } mysql_free_result(); ResetPlayerCash(playerid); GivePlayerCash(playerid,PlayerInfo[playerid][pCash]); CurrentMoney[playerid] = PlayerInfo[playerid][pCash]; KillTimer(login[playerid]); if(PlayerInfo[playerid][pReg] == 0) { PlayerInfo[playerid][pLevel] = 1; PlayerInfo[playerid][pHealth] = 100.0; PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; PlayerInfo[playerid][pTeam] = 3; PlayerInfo[playerid][pModel] = 250; PlayerInfo[playerid][pHouse] = 999; PlayerInfo[playerid][pBizz] = 255; PlayerInfo[playerid][pAccount] = 1000; PlayerInfo[playerid][pReg] = 1; SetPlayerInterior(playerid,0); new string[300]; new d,m,y; getdate(y,m,d); new h,mine,s; gettime(h,mine,s); format(string, sizeof(string), "%d/%d/%d %d:%d:%d",d,m,y,h,mine,s); strmid(PlayerInfo[playerid][pRegistredDate], string, 0, strlen(string), 255); new str[180]; format(str,sizeof(str),"UPDATE users SET `pHealth`='100.0',`Team`='3',`Model`='250' WHERE `ID`='%d'",PlayerInfo[playerid][pSQLID]); mysql_query(SQL,str); Update(playerid,pCashx); Update(playerid,pLevelx); Update(playerid,pHousex); Update(playerid,pBizzx); Update(playerid,pPnumberx); Update(playerid,pRegx); Update(playerid,pRegistredDatex); }
  4. E versiunea de burned care Edison a postat-o e peste tot.
  5. Nu asa lam luat de pe forum. Toate versiunile de burned sunt asa.
  6. Uite 3 sunt on si cand intru asa apare. https://i.postimg.cc/QxvvzZn5/sa-mp-016.png https://i.postimg.cc/1zQ29cS3/sa-mp-017.png
  7. Nu apare sa introduca parola sau daca apare spune parola incorecta.Si dupa 30 de secunde primeste Kick.
  8. Pe toate versiunile imi da la fel. Il am si pe host si pe localhost. 3 persoane intra a 4 primeste kick. Nu iti da voie sa bagi parola sau zice ca parola nu e buna.
  9. function OnPlayerLogin(playerid,password[]) { new playername2[MAX_PLAYER_NAME]; GetPlayerName(playerid, playername2, sizeof(playername2)); new qstr[100]; new result[456]; format(qstr,100,"SELECT * FROM users WHERE `name`='%s' AND `password`='%s'",playername2,password); mysql_query(SQL,qstr); mysql_store_result(); if(mysql_num_rows() > 0) { if(mysql_retrieve_row()) { GameTextForPlayer(playerid, "~y~Loading account...", 20000, 4); PlayerTextdraws(playerid); mysql_fetch_field_row(result,"password"); format(PlayerInfo[playerid][pKey], 128, result); mysql_fetch_field_row(result,"Level"); PlayerInfo[playerid][pLevel] = strval( result ); mysql_fetch_field_row(result,"Admin"); PlayerInfo[playerid][pAdmin] = strval( result ); mysql_fetch_field_row(result,"Backpack"); PlayerInfo[playerid][pBackpack] = strval( result ); mysql_fetch_field_row(result,"Security"); format(PlayerInfo[playerid][pSecurity], 64, result); mysql_fetch_field_row(result,"Propose"); format(PlayerInfo[playerid][pPropose], 64, result);
  10. Username:WanteK Problema întălnită:Am pus gamemode pe host si mai mult de 3 playeri nu se pot conecta. Nu sunt boti sunt playeri cu ip random. Detalii despre problemă:Nu se pot conecta mai multe persoane am verificat /onplayerlogin nimic. Ce ai încercat să faci înainte să postezi?:Am verificat onplayerlogin / onplayerregister max_players Cod sursă (recomandat pastebin.com) : nu Alte detalii: Va multumesc
  11. Username:WanteKK Creator (sau editor): Edison Poze/Video în care îl prezinți: Aici e panelul dar nu il gasesc : Panel Burned Link Virustotal: Fara Link download (cu hide): Nu Alte precizări: Va multumesc
×
×
  • Create New...