Jump to content

[DELETED]Eroare la compilare


MatR3
 Share

Recommended Posts

C:\Users\Ionut\Desktop\gm\pawno\include\systems.inc(402) : error 010: invalid function or declaration
C:\Users\Ionut\Desktop\gm\pawno\include\systems.inc(403) : error 010: invalid function or declaration
C:\Users\Ionut\Desktop\gm\pawno\include\systems.inc(405) : error 010: invalid function or declaration
C:\Users\Ionut\Desktop\gm\pawno\include\systems.inc(406) : error 010: invalid function or declaration
C:\Users\Ionut\Desktop\gm\pawno\include\systems.inc(407) : error 010: invalid function or declaration
C:\Users\Ionut\Desktop\gm\pawno\include\systems.inc(408) : error 010: invalid function or declaration
C:\Users\Ionut\Desktop\gm\pawno\include\systems.inc(409) : error 010: invalid function or declaration
C:\Users\Ionut\Desktop\gm\pawno\include\systems.inc(410) : error 010: invalid function or declaration
C:\Users\Ionut\Desktop\gm\pawno\include\systems.inc(411) : error 010: invalid function or declaration
C:\Users\Ionut\Desktop\gm\pawno\include\systems.inc(412) : error 010: invalid function or declaration
C:\Users\Ionut\Desktop\gm\pawno\include\systems.inc(413) : error 010: invalid function or declaration
C:\Users\Ionut\Desktop\gm\pawno\include\systems.inc(414) : error 010: invalid function or declaration
C:\Users\Ionut\Desktop\gm\pawno\include\systems.inc(415) : error 010: invalid function or declaration
C:\Users\Ionut\Desktop\gm\pawno\include\systems.inc(416) : error 010: invalid function or declaration
C:\Users\Ionut\Desktop\gm\pawno\include\systems.inc(417) : error 010: invalid function or declaration
C:\Users\Ionut\Desktop\gm\pawno\include\systems.inc(418) : error 010: invalid function or declaration
C:\Users\Ionut\Desktop\gm\pawno\include\systems.inc(419) : error 010: invalid function or declaration
C:\Users\Ionut\Desktop\gm\pawno\include\systems.inc(420) : error 010: invalid function or declaration
C:\Users\Ionut\Desktop\gm\pawno\include\systems.inc(421) : error 010: invalid function or declaration
C:\Users\Ionut\Desktop\gm\pawno\include\systems.inc(422) : error 010: invalid function or declaration
C:\Users\Ionut\Desktop\gm\pawno\include\systems.inc(423) : error 010: invalid function or declaration
C:\Users\Ionut\Desktop\gm\pawno\include\systems.inc(424) : error 010: invalid function or declaration
C:\Users\Ionut\Desktop\gm\pawno\include\systems.inc(425) : error 010: invalid function or declaration
C:\Users\Ionut\Desktop\gm\pawno\include\systems.inc(426) : error 010: invalid function or declaration
C:\Users\Ionut\Desktop\gm\pawno\include\systems.inc(427) : error 010: invalid function or declaration
C:\Users\Ionut\Desktop\gm\pawno\include\systems.inc(428) : error 010: invalid function or declaration

Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.
[Finished in 0.3s with exit code 1]
[cmd: ['pawncc.exe', '-i includes', 'C:\\Users\\Ionut\\Desktop\\gm\\pawno\\include\\systems.inc', '-;+']]
[dir: C:\Users\Ionut\Desktop\gm\pawno\include]
[path: C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\program files\d3dgear;c:\program files\d3dgear]

Este gm burned si vreau sa ii schimb numele , va rog ma puteti ajuta?

Link to comment
Share on other sites

function Update(playerid, type) {
    if(IsPlayerConnected(playerid)) {
        new var[356];
        switch(type) {
            case pCashx: format(var, sizeof(var), "UPDATE `users` SET `Money`='%d' WHERE `ID`='%d'",GetPlayerCash(playerid), PlayerInfo[playerid][pSQLID]);                
            case pRP: format(var, sizeof(var), "UPDATE `users` SET `Respect`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pExp], PlayerInfo[playerid][pSQLID]);                
            case pBank: format(var, sizeof(var), "UPDATE `users` SET `Bank`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pAccount], PlayerInfo[playerid][pSQLID]);                
            case pCarLicTx: format(var, sizeof(var), "UPDATE `users` SET `CarLicT`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pCarLicT], PlayerInfo[playerid][pSQLID]);            
            case pFlyLicTx: format(var, sizeof(var), "UPDATE `users` SET `FlyLicT`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pFlyLicT], PlayerInfo[playerid][pSQLID]);                
            case pBoatLicTx: format(var, sizeof(var), "UPDATE `users` SET `BoatLicT`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pBoatLicT], PlayerInfo[playerid][pSQLID]);                
            case pFishLicTx: format(var, sizeof(var), "UPDATE `users` SET `FishLicT`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pFishLicT], PlayerInfo[playerid][pSQLID]);                
            case pGunLicTx: format(var, sizeof(var), "UPDATE `users` SET `GunLicT`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pGunLicT], PlayerInfo[playerid][pSQLID]);                
            case pRobx: format(var, sizeof(var), "UPDATE `users` SET `Rob`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pRob], PlayerInfo[playerid][pSQLID]);                
            case pFpunishx: format(var, sizeof(var), "UPDATE `users` SET `FPunish`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pFpunish], PlayerInfo[playerid][pSQLID]);                
            case pLawyerx: format(var, sizeof(var), "UPDATE `users` SET `Acceptpoints`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pLawyer], PlayerInfo[playerid][pSQLID]);            
            case pConnectTimex: format(var, sizeof(var), "UPDATE `users` SET `ConnectedTime`='%0.3f' WHERE `ID`='%d'",PlayerInfo[playerid][pConnectTime], PlayerInfo[playerid][pSQLID]);            
            case pTowx: format(var, sizeof(var), "UPDATE `users` SET `Tow`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pTow], PlayerInfo[playerid][pSQLID]);                
            case pPayDayHadx: format(var, sizeof(var), "UPDATE `users` SET `PayDayHad`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pPayDayHad], PlayerInfo[playerid][pSQLID]);            
            case pPayDayx: format(var, sizeof(var), "UPDATE `users` SET `PayDay`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pPayDay], PlayerInfo[playerid][pSQLID]);                
            case pPayCheckx: format(var, sizeof(var), "UPDATE `users` SET `Paycheck`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pPayCheck], PlayerInfo[playerid][pSQLID]);                
            case pHousex: format(var, sizeof(var), "UPDATE `users` SET `House`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pHouse], PlayerInfo[playerid][pSQLID]);                
            case pJailedx: format(var, sizeof(var), "UPDATE `users` SET `Jailed`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pJailed], PlayerInfo[playerid][pSQLID]);                
            case pJailTimex: format(var, sizeof(var), "UPDATE `users` SET `JailTime`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pJailTime], PlayerInfo[playerid][pSQLID]);                
            case pRadiox: format(var, sizeof(var), "UPDATE `users` SET `Radio2`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pMP3], PlayerInfo[playerid][pSQLID]);                
            case pWantedLevelx: format(var, sizeof(var), "UPDATE `users` SET `WantedLevel`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pWantedLevel], PlayerInfo[playerid][pSQLID]);                
            case pPhonex: format(var, sizeof(var), "UPDATE `users` SET `Phone`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pPhone], PlayerInfo[playerid][pSQLID]);                
            case pMatsx: format(var, sizeof(var), "UPDATE `users` SET `Materials`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pMats], PlayerInfo[playerid][pSQLID]);                
            case pFishesx: format(var, sizeof(var), "UPDATE `users` SET `Fishes`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pFishes], PlayerInfo[playerid][pSQLID]);                
            case pFishSkillx: format(var, sizeof(var), "UPDATE `users` SET `FishSkill`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pFishSkill], PlayerInfo[playerid][pSQLID]);                
            case pRobSkillx: format(var, sizeof(var), "UPDATE `users` SET `RobSkill`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pRobSkill], PlayerInfo[playerid][pSQLID]);                
            case pReferralx: format(var, sizeof(var), "UPDATE `users` SET `referral`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pReferral], PlayerInfo[playerid][pSQLID]);                
            case pLevelx: format(var, sizeof(var), "UPDATE `users` SET `Level`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pLevel], PlayerInfo[playerid][pSQLID]);                
            case pReferralPx: format(var, sizeof(var), "UPDATE `users` SET `referralp`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pReferralP], PlayerInfo[playerid][pSQLID]);                
            case pPremiumAccountx: format(var, sizeof(var), "UPDATE `users` SET `Premium`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pPremiumAccount], PlayerInfo[playerid][pSQLID]);                
            case pBizzx: format(var, sizeof(var), "UPDATE `users` SET `Bizz`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pBizz], PlayerInfo[playerid][pSQLID]);                
            case pPnumberx: format(var, sizeof(var), "UPDATE `users` SET `PhoneNr`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pPhone], PlayerInfo[playerid][pSQLID]);                
            case pRegx: format(var, sizeof(var), "UPDATE `users` SET `Registered`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pReg], PlayerInfo[playerid][pSQLID]);                
            case pRegistredDatex: format(var, sizeof(var), "UPDATE `users` SET `RegisterDate`='%s' WHERE `ID`='%d'",PlayerInfo[playerid][pRegistredDate], PlayerInfo[playerid][pSQLID]);                
            case pRentedx: format(var, sizeof(var), "UPDATE `users` SET `Rented`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pRented], PlayerInfo[playerid][pSQLID]);                
            case pCrimesx: format(var, sizeof(var), "UPDATE `users` SET `Crimes`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pCrimes], PlayerInfo[playerid][pSQLID]);                
            case pLaptopx: format(var, sizeof(var), "UPDATE `users` SET `Laptop`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pLaptop], PlayerInfo[playerid][pSQLID]);                
            case pCrime1x: format(var, sizeof(var), "UPDATE `users` SET `Crime1`='%s' WHERE `ID`='%d'",PlayerInfo[playerid][pCrime1], PlayerInfo[playerid][pSQLID]);                
            case pCrime2x: format(var, sizeof(var), "UPDATE `users` SET `Crime2`='%s' WHERE `ID`='%d'",PlayerInfo[playerid][pCrime2], PlayerInfo[playerid][pSQLID]);                
            case pCrime3x: format(var, sizeof(var), "UPDATE `users` SET `Crime3`='%s' WHERE `ID`='%d'",PlayerInfo[playerid][pCrime3], PlayerInfo[playerid][pSQLID]);                
            case pVictimx: format(var, sizeof(var), "UPDATE `users` SET `Victim`='%s' WHERE `ID`='%d'",PlayerInfo[playerid][pVictim], PlayerInfo[playerid][pSQLID]);                
            case pAccusedx: format(var, sizeof(var), "UPDATE `users` SET `Accused`='%s' WHERE `ID`='%d'",PlayerInfo[playerid][pAccused], PlayerInfo[playerid][pSQLID]);                
            case pEmailx: format(var, sizeof(var), "UPDATE `users` SET `Email`='%s' WHERE `ID`='%d'",PlayerInfo[playerid][pEmail], PlayerInfo[playerid][pSQLID]);                
            case pBTempx: format(var, sizeof(var), "UPDATE `users` SET `BTemp`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pBTemp], PlayerInfo[playerid][pSQLID]);                
            case pBYearx: format(var, sizeof(var), "UPDATE `users` SET `BYear`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pBYear], PlayerInfo[playerid][pSQLID]);                
            case pBMonthx: format(var, sizeof(var), "UPDATE `users` SET `BMonth`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pBMonth], PlayerInfo[playerid][pSQLID]);                
            case pBDayx: format(var, sizeof(var), "UPDATE `users` SET `BDay`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pBDay], PlayerInfo[playerid][pSQLID]);            
            case pBByx: format(var, sizeof(var), "UPDATE `users` SET `BBy`='%s' WHERE `ID`='%d'",PlayerInfo[playerid][pBBy], PlayerInfo[playerid][pSQLID]);                
            case pBReasonx: format(var, sizeof(var), "UPDATE `users` SET `BReason`='%s' WHERE `ID`='%d'",PlayerInfo[playerid][pBReason], PlayerInfo[playerid][pSQLID]);                
            case pWarnsx: format(var, sizeof(var), "UPDATE `users` SET `Warnings`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pWarns], PlayerInfo[playerid][pSQLID]);                
            case pTruckerSkillx: format(var, sizeof(var), "UPDATE `users` SET `TruckerSkill`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pTruckerSkill], PlayerInfo[playerid][pSQLID]);                
            case pGarbageSkillx: format(var, sizeof(var), "UPDATE `users` SET `GarbageSkill`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pGarbageSkill], PlayerInfo[playerid][pSQLID]);                
            case pShowJobx: format(var, sizeof(var), "UPDATE `users` SET `ShowJob`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pShowJob], PlayerInfo[playerid][pSQLID]);                
            case pShowFPx: format(var, sizeof(var), "UPDATE `users` SET `ShowFP`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pShowFP], PlayerInfo[playerid][pSQLID]);                
            case pShowLogox: format(var, sizeof(var), "UPDATE `users` SET `ShowLogo`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pShowLogo], PlayerInfo[playerid][pSQLID]);                
            case pShowCeasx: format(var, sizeof(var), "UPDATE `users` SET `ShowCeas`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pShowCeas], PlayerInfo[playerid][pSQLID]);                
            case pFarmerSkillx: format(var, sizeof(var), "UPDATE `users` SET `FarmerSkill`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pFarmerSkill], PlayerInfo[playerid][pSQLID]);                    
            case pPremiumPointsx: {
                format(var, sizeof(var), "UPDATE `users` SET `GoldPoints`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pPremiumPoints], PlayerInfo[playerid][pSQLID]);
                mysql_query(SQL, var);            
            }                            
            case pShowFactionx: format(var, sizeof(var), "UPDATE `users` SET `ShowFaction`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pShowFaction], PlayerInfo[playerid][pSQLID]);                
            case pGiftPointsx: format(var, sizeof(var), "UPDATE `users` SET `GiftPoints`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pGiftPoints], PlayerInfo[playerid][pSQLID]);                
            case pNewbieMutex: format(var, sizeof(var), "UPDATE `users` SET `NewbieMute`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pNewbieMute], PlayerInfo[playerid][pSQLID]);                
            case pReportTimex: format(var, sizeof(var), "UPDATE `users` SET `ReportTime`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pReportTime], PlayerInfo[playerid][pSQLID]);                                            
            case pDailyMissionx: format(var, sizeof(var), "UPDATE `users` SET `DailyMission`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pDailyMission][0], PlayerInfo[playerid][pSQLID]);                
            case pDailyMission2x: format(var, sizeof(var), "UPDATE `users` SET `DailyMission2`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pDailyMission][1], PlayerInfo[playerid][pSQLID]);                
            case pProgressx: format(var, sizeof(var), "UPDATE `users` SET `Progress`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pProgress][0], PlayerInfo[playerid][pSQLID]);            
            case pProgress2x: format(var, sizeof(var), "UPDATE `users` SET `Progress2`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pProgress][1], PlayerInfo[playerid][pSQLID]);                
            case pPizzaSkillx: format(var, sizeof(var), "UPDATE `users` SET `PizzaSkill`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pPizzaSkill], PlayerInfo[playerid][pSQLID]);                                
            case pCurierSkillx: format(var, sizeof(var), "UPDATE `users` SET `CurierSkill`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pCurierSkill], PlayerInfo[playerid][pSQLID]);                            
            case pPilotSkillx: format(var, sizeof(var), "UPDATE `users` SET `PilotSkill`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pPilotSkill], PlayerInfo[playerid][pSQLID]);                                    
            case pShowHPx: format(var, sizeof(var), "UPDATE `users` SET `ShowHP`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pShowHP], PlayerInfo[playerid][pSQLID]);                                        
            case pShowAPx: format(var, sizeof(var), "UPDATE `users` SET `ShowAP`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pShowAP], PlayerInfo[playerid][pSQLID]);                                
            case pVipx: format(var, sizeof(var), "UPDATE `users` SET `Vip`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pVip], PlayerInfo[playerid][pSQLID]);    
            case pCarLicSx: format(var, sizeof(var), "UPDATE `users` SET `CarLicS`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pCarLicS], PlayerInfo[playerid][pSQLID]);    
            case pGunLicSx: format(var, sizeof(var), "UPDATE `users` SET `GunLicS`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pGunLicS], PlayerInfo[playerid][pSQLID]);    
            case pFlyLicSx: format(var, sizeof(var), "UPDATE `users` SET `FlyLicS`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pFlyLicS], PlayerInfo[playerid][pSQLID]);    
            case pBoatLicSx: format(var, sizeof(var), "UPDATE `users` SET `BoatLicS`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pBoatLicS], PlayerInfo[playerid][pSQLID]);    
            case pJackerSkillx: format(var, sizeof(var), "UPDATE `users` SET `IceSkill`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pJackerSkill], PlayerInfo[playerid][pSQLID]);    
            case pPetStatusx: format(var, sizeof(var), "UPDATE `users` SET `PetStatus`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pPetStatus], PlayerInfo[playerid][pSQLID]);    
            case pPetPointsx: format(var, sizeof(var), "UPDATE `users` SET `PetPoints`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pPetPoints], PlayerInfo[playerid][pSQLID]);    
            case pPetLevelx: format(var, sizeof(var), "UPDATE `users` SET `PetLevel`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pPetLevel], PlayerInfo[playerid][pSQLID]);    
            case pPetNamex: format(var, sizeof(var), "UPDATE `users` SET `PetName`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pPetName], PlayerInfo[playerid][pSQLID]);        
            case pCasex: format(var, sizeof(var), "UPDATE `users` SET `Case`='%d' WHERE `name`='%s'",PlayerInfo[playerid][pCase], PlayerInfo[playerid][pSQLID]);
            case pCaseKeyx: format(var, sizeof(var), "UPDATE `users` SET `CaseKey`='%d' WHERE `name`='%s'",PlayerInfo[playerid][pCaseKey], PlayerInfo[playerid][pSQLID]);

        }
        if(type != pPremiumPointsx) mysql_query(SQL, var);
    }
    return 1;
}

Link to comment
Share on other sites

Topic-ul a fost șters deoarece nu ai respectat modelul de postare. Te rugăm sa revii cu alt topic in care să respecți modelul.

Topic șters!

Respecta si vei fi respectat.

 

BigInt Pawn:

Pacman C++: 

Snake C++:

Minesweeper C++:

 

mattbb.cash

leaks.ro

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...