Szerző Téma: Itt kérdezz warningot/error -t!  (Megtekintve 142103 alkalommal)

Nem elérhető ZyZu.

  • Globális moderátor
  • 8939
  • my turbo diesel forum
  • Discord: ZyZu.
    • Profil megtekintése
Itt kérdezz warningot/error -t!
« Válasz #45 Dátum: 2012. június 20. - 13:08:40 »
0 Show voters
És így?
 

public OnPlayerExitVehicle(playerid, vehicleid)
    {
        new vehicleid1 = GetPlayerVehicleID(playerid);
         if( GetVehicleModel(vehicleid1) == 598)
         {
                    if(pi[playerid][admin] >= 1 || pi[playerid][rendor] >= 1)
                            {
                            }else{
                RemovePlayerFromVehicle(playerid);}
         }
         if( GetVehicleModel(vehicleid1) == 599 )
         {
                    if(pi[playerid][admin] >= 1 || pi[playerid][rendor] >= 1)
                            {
                            }else{
               RemovePlayerFromVehicle(playerid);}
         }
         if( GetVehicleModel(vehicleid1) == 416 )
         {
                    if(pi[playerid][admin] >= 1 || pi[playerid][mento] >= 1)
                            {
                            }else{
          RemovePlayerFromVehicle(playerid);
                            }
                  }
        }
        return 1;
    }

Itt kérdezz warningot/error -t!
« Válasz #46 Dátum: 2012. június 20. - 13:19:46 »
0 Show voters
public OnPlayerExitVehicle( playerid, vehicleid )
{
        if( GetPlayerState(playerid) == PLAYER_STATE_DRIVER && vehicleid == pInfo[playerid][Kocsi] )
        {
            new vname[64 + 1];
            format( vname, 64, \"%03d.dat\", vehicleid );
                new File: vfile = fopen(vname);
                #define LustaVagyok(%0) vInfo[pInfo[playerid][KocsiID]][%0]
                if( vfile )
                {
                        new vstring[128 + 1];
                format( vstring, 128, \"%f,%f,%f,%f,%d,%d,%d,%s\", LustaVagyok(xpos), LustaVagyok(ypos), LustaVagyok(zpos), LustaVagyok(rot), LustaVagyok(color1), LustaVagyok(color2), LustaVagyok(model), LustaVagyok(plate) );
                fwrite( vfile, vstring );
                        fclose( vfile );
            }
        }
new engine, lights, alarm, doors, bonnet, boot, objective;
DisablePlayerCheckpoint(playerid);
if (GetPlayerVehicleSeat(playerid) == 0)
{
    vehicleid = GetPlayerVehicleID(playerid);
if (AVehicleData[vehicleid][Fuel] > 0)
{
   GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
   SetVehicleParamsEx(vehicleid, 1, 1, alarm, doors, bonnet, boot, objective);
}
}
     if(newstate == PLAYER_STATE_DRIVER)
     {
     new vehicleid1 = GetPlayerVehicleID(playerid);
Ere van az error     if( GetVehicleModel(vehicleid1) == 598 )
     {
                if(pi[playerid][admin] >= 1 || pi[playerid][rendor] >= 1)
                        {
                        }else { RemovePlayerFromVehicle(playerid);}
     }
     if( GetVehicleModel(vehicleid1) == 599 )
     {
                if(pi[playerid][admin] >= 1 || pi[playerid][rendor] >= 1)
                        {
                        }else {RemovePlayerFromVehicle(playerid);}
     }
     if( GetVehicleModel(vehicleid1) == 416 )
     {
                if(pi[playerid][admin] >= 1 || pi[playerid][mento] >= 1)
                        {
                        }else {RemovePlayerFromVehicle(playerid);}
     }
     }
        return 1;
}
« Utoljára szerkesztve: 2012. június 21. - 08:33:46 írta N@rbirock »

Itt kérdezz warningot/error -t!
« Válasz #47 Dátum: 2012. június 21. - 16:11:22 »
0 Show voters
Azt jelenti, hogy a szerver nem válaszol, tehát nem jó a szerver!

Itt kérdezz warningot/error -t!
« Válasz #48 Dátum: 2012. június 21. - 18:09:17 »
0 Show voters
Nekem az errort kéne megoldani és jó lesz.

Nem elérhető Norby

  • 1575
    • Profil megtekintése
Itt kérdezz warningot/error -t!
« Válasz #49 Dátum: 2012. június 22. - 22:51:16 »
0 Show voters

public OnPlayerStateChange(playerid, newstate, oldstate)
{
        if( GetPlayerState(playerid) == PLAYER_STATE_DRIVER && vehicleid == pInfo[playerid][Kocsi] )
        {
            new vname[64 + 1];
            format( vname, 64, \"%03d.dat\", vehicleid );
                new File: vfile = fopen(vname);
                #define LustaVagyok(%0) vInfo[pInfo[playerid][KocsiID]][%0]
                if( vfile )
                {
                        new vstring[128 + 1];
                format( vstring, 128, \"%f,%f,%f,%f,%d,%d,%d,%s\", LustaVagyok(xpos), LustaVagyok(ypos), LustaVagyok(zpos), LustaVagyok(rot), LustaVagyok(color1), LustaVagyok(color2), LustaVagyok(model), LustaVagyok(plate) );
                fwrite( vfile, vstring );
                        fclose( vfile );
            }
        }
        new engine, lights, alarm, doors, bonnet, boot, objective;
        DisablePlayerCheckpoint(playerid);
                if (GetPlayerVehicleSeat(playerid) == 0)
        {
            vehicleid = GetPlayerVehicleID(playerid);
                if (AVehicleData[vehicleid][Fuel] > 0)
                {
                        GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
                        SetVehicleParamsEx(vehicleid, 1, 1, alarm, doors, bonnet, boot, objective);
                }
        }
             if(newstate == PLAYER_STATE_DRIVER)
     {
     new vehicleid1 = GetPlayerVehicleID(playerid);
Ere van az error     if( GetVehicleModel(vehicleid1) == 598 )
     {
                if(pi[playerid][admin] >= 1 || pi[playerid][rendor] >= 1)
                        {
                        }else { RemovePlayerFromVehicle(playerid);}
     }
     if( GetVehicleModel(vehicleid1) == 599 )
     {
                if(pi[playerid][admin] >= 1 || pi[playerid][rendor] >= 1)
                        {
                        }else {RemovePlayerFromVehicle(playerid);}
     }
     if( GetVehicleModel(vehicleid1) == 416 )
     {
                if(pi[playerid][admin] >= 1 || pi[playerid][mento] >= 1)
                        {
                        }else {RemovePlayerFromVehicle(playerid);}
     }
     }
        return 1;
}

Itt kérdezz warningot/error -t!
« Válasz #50 Dátum: 2012. június 25. - 12:21:58 »
0 Show voters
(549) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664           Copyright © 1997-2006, ITB CompuPhase
1 Warning.
 
               SetPlayerPos( playerid, P_X+1, P_Y+1, P_Z );

 
Ebbe mi a hiba?

Nem elérhető zeteni

  • 1970
  • Ex-Scripter
    • Profil megtekintése
Itt kérdezz warningot/error -t!
« Válasz #51 Dátum: 2012. június 25. - 14:28:59 »
0 Show voters
new Float:P_X, Float: P_Y, Float: P_Z;

 
Ez benne van?

Itt kérdezz warningot/error -t!
« Válasz #52 Dátum: 2012. június 25. - 14:36:45 »
0 Show voters
Így van:
 
#define     P_X     -253.8405
#define     P_Y     2603.2100
#define     P_Z     62.8582,12

Nem elérhető Gabor..

  • 1883
  • Gabor..
    • Profil megtekintése
Itt kérdezz warningot/error -t!
« Válasz #53 Dátum: 2012. június 25. - 14:49:20 »
0 Show voters
Idézetet írta: N@rbirock date=1340627805\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"22125\" data-ipsquote-contentclass=\"forums_Topic
Így van:
 
#define     P_X     -253.8405
#define     P_Y     2603.2100
#define     P_Z     62.8582,12

 


#define     P_X     -253.8405
#define     P_Y     2603.2100
#define     P_Z     62.8582

Itt kérdezz warningot/error -t!
« Válasz #54 Dátum: 2012. június 26. - 10:18:04 »
0 Show voters
Ezt a hibát írja ki mikor el akarom indítani a SeeRPG módot.De nem tudom miért.Valaki segítene?
----------
Loaded log file: \"server_log.txt\".
----------
SA-MP Dedicated Server
----------------------
v0.3e-RC7, ©2005-2012 SA-MP Team
[18:50:16]
[18:50:16] Server Plugins
[18:50:16] --------------
[18:50:16]  Loading plugin: crashdetect
[18:50:17]   Loaded.
[18:50:17]  Loading plugin: mysql
[18:50:18]  SA:MP MySQL Plugin v2.1.1 Loaded.
[18:50:18] [MySQL] Thread running. Threadsafe: Yes.
[18:50:18]   Loaded.
[18:50:18]  Loading plugin: streamer
[18:50:19]
*** Streamer Plugin v2.6 by Incognito loaded ***
[18:50:19]   Loaded.
[18:50:19]  Loading plugin: sscanf
[18:50:19]
[18:50:19]  ===============================
[18:50:19]       sscanf plugin loaded.     
[18:50:19]    © 2009 Alex \"Y_Less\" Cole
[18:50:19]    0.3d-R2 500 Players \"dnee\"
[18:50:19]  ===============================
[18:50:19]   Loaded.
[18:50:19]  Loading plugin: audio
[18:50:19]
*** Audio Plugin v0.5 by Incognito loaded ***
[18:50:19]   Loaded.
[18:50:19]  Loading plugin: Whirlpool
[18:50:19] 
[18:50:19]  ==================
[18:50:19] 
[18:50:19]   Whirlpool loaded
[18:50:19] 
[18:50:19]  ==================
[18:50:19] 
[18:50:19]   Loaded.
[18:50:19]  Loaded 6 plugins.
[18:50:20]
[18:50:20] Filterscripts
[18:50:20] ---------------
[18:50:20]   Loading filterscript \'JunkBuster.amx\'...
[18:50:21] [junkbuster] Loading JunkBuster...
[18:50:21] 
[18:50:21] [junkbuster] Current JunkBuster configuration:
[18:50:21] [junkbuster] - WeaponHack = 1
[18:50:21] [junkbuster] - MoneyHack = 1
[18:50:21] [junkbuster] - Jetpack = 1
[18:50:21] [junkbuster] - HealthHack = 1
[18:50:21] [junkbuster] - ArmourHack = 1
[18:50:21] [junkbuster] - DriveBy = 0
[18:50:21] [junkbuster] - Spam = 0
[18:50:21] [junkbuster] - CommandSpam = 0
[18:50:21] [junkbuster] - BadWords = 0
[18:50:21] [junkbuster] - CarJackHack = 0
[18:50:21] [junkbuster] - TeleportHack = 1
[18:50:21] [junkbuster] - MaxPing = 500
[18:50:21] [junkbuster] - SpectateHack = 0
[18:50:21] [junkbuster] - Blacklist = 0
[18:50:21] [junkbuster] - IpBans = 0
[18:50:21] [junkbuster] - TempBans = 0
[18:50:21] [junkbuster] - SpawnKill = 0
[18:50:21] [junkbuster] - CapsLock = 1
[18:50:21] [junkbuster] - 3DSpeed = 0
[18:50:21] [junkbuster] - MaxSpeed = 230
[18:50:21] [junkbuster] - AdminImmunity = 0
[18:50:21] [junkbuster] - Advertisement = 0
[18:50:21] [junkbuster] - FreezeUpdate = 0
[18:50:21] [junkbuster] - SpawnTime = 0
[18:50:21] [junkbuster] - CheckpointTeleport = 1
[18:50:21] [junkbuster] - Airbrake = 150
[18:50:21] [junkbuster] - TankMode = 1
[18:50:21] [junkbuster] - WarnPlayers = 0
[18:50:21] [junkbuster] - SingleplayerCheats = 1
[18:50:21] [junkbuster] - MinFPS = 500
[18:50:21] [junkbuster] - DisableBadWeapons = 1
[18:50:21] [junkbuster] - CBug = 16
[18:50:21] [junkbuster] - AntiBugKill = 1
[18:50:21] [junkbuster] - NoReload = 20
[18:50:21] [junkbuster] - NoReloadForSawnOff = 4
[18:50:21] [junkbuster] - ActiveGMC = 0
[18:50:21] [junkbuster] - GMCBan = 0
[18:50:21] [junkbuster] - ServerSideHealth = 1
[18:50:21] [junkbuster] - CheckVMPos = 0
[18:50:21] [junkbuster] - QuickTurn = 1
[18:50:21] [junkbuster] - VehicleTeleport = 1
[18:50:21] [junkbuster] - Wallride = 170
[18:50:21] [junkbuster] - DisplayTextDraw = 0
[18:50:21] [junkbuster] - AFK = 5
[18:50:21] [junkbuster] - PickupTeleport = 1
[18:50:21] [junkbuster] - FlyHack = 40
[18:50:21] [junkbuster] - JunkBusterChrome = 1
[18:50:21] [junkbuster] - CheckWalkAnims = 1
[18:50:21] [junkbuster] - ReportMoneyHack = 1
[18:50:21] [junkbuster] - SpeedhackAdvanced = 20
[18:50:21] [junkbuster] - Joypad = 1
[18:50:21] [junkbuster] - ArmedVehicles = 0
[18:50:21] [junkbuster] - VehicleRepair = 2
[18:50:21] [junkbuster] - TuningHack = 1
[18:50:21] [junkbuster] - PayForGuns = 0
[18:50:21] [junkbuster] - SpawnVehicles = 2
[18:50:21] [junkbuster] - MaxTotalWarnings = 3
[18:50:21] [junkbuster] - TooManyWarningsAction = 0
[18:50:21] [junkbuster] - AirbrakeDetection = 1
[18:50:21] [junkbuster] - SpeedhackDetection = 1
[18:50:21] 
[18:50:21] [junkbuster] 0 IP-bans have been loaded.
[18:50:21] [junkbuster] 0 temporary bans have been loaded.
[18:50:21] [junkbuster] 0 whitelist entries have been loaded.
[18:50:21] [junkbuster] 5 blacklist entries have been loaded.
[18:50:21] [junkbuster] 41 bad words have been loaded.
[18:50:21] [junkbuster] 4 forbidden weapons have been loaded.
[18:50:21] [junkbuster] JunkBuster has been configurated.
[18:50:21] [junkbuster] JunkBuster (v11) has successfully been loaded.
[18:50:21]   Loading filterscript \'anims.amx\'...
[18:50:21]   Unable to load filterscript \'anims.amx\'.
[18:50:21]   Loading filterscript \'streamer.amx\'...
[18:50:21] Vehicle Object Streamer by mick88: LOADED
[18:50:21]   Loaded 2 filterscripts.
[18:50:21] OnGameo
[18:50:21] [MySQL] Error (0): Failed to connect. Can\'t connect to MySQL server on \' \' (10049).
[18:50:21] MySQL Hiba történt. ErrorID: 2003. Hiba:
[18:50:21] Failed to connect. Can\'t connect to MySQL server on \' \' (10049).
[18:50:21] Szerver Mód: PUBLIC
[18:50:21] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can\'t connect to MySQL server on \' \' (10049).
[18:50:21] MySQL Hiba történt. ErrorID: 4. Hiba:
[18:50:21] Function: mysql_query called when not connected to any database. Can\'t connect to MySQL ser
[18:50:21] Bank betöltése...
[18:50:21] Bank betöltése...
[18:50:21]
================Frakciók Betöltése Folyamatban================
[18:50:21] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can\'t connect to MySQL server on \' \' (10049).
[18:50:21] MySQL Hiba történt. ErrorID: 4. Hiba:
[18:50:21] Function: mysql_query called when not connected to any database. Can\'t connect to MySQL ser
[18:50:21] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can\'t connect to MySQL server on \' \' (10049).
[18:50:21] MySQL Hiba történt. ErrorID: 4. Hiba:
[18:50:21] Function: mysql_store_result called when not connected to any database. Can\'t connect to My
[18:50:21] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database. Can\'t connect to MySQL server on \' \' (10049).
[18:50:21] MySQL Hiba történt. ErrorID: 4. Hiba:
[18:50:21] Function: mysql_num_rows called when not connected to any database. Can\'t connect to MySQL
[18:50:21] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can\'t connect to MySQL server on \' \' (10049).
[18:50:21] MySQL Hiba történt. ErrorID: 4. Hiba:
[18:50:21] Function: mysql_free_result called when not connected to any database. Can\'t connect to MyS
[18:50:21] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can\'t connect to MySQL server on \' \' (10049).
[18:50:21] MySQL Hiba történt. ErrorID: 4. Hiba:
[18:50:21] Function: mysql_query called when not connected to any database. Can\'t connect to MySQL ser
[18:50:21] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can\'t connect to MySQL server on \' \' (10049).
[18:50:21] MySQL Hiba történt. ErrorID: 4. Hiba:
[18:50:21] Function: mysql_store_result called when not connected to any database. Can\'t connect to My

Itt kérdezz warningot/error -t!
« Válasz #55 Dátum: 2012. június 26. - 10:28:33 »
+1 Show voters
Nem csatlakozik az adatbázishoz.

Itt kérdezz warningot/error -t!
« Válasz #56 Dátum: 2012. június 26. - 18:20:24 »
+1 Show voters
Ez mi?
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\..\\y_amx.inc(409) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\..\\y_amx.inc(442) : warning 219: local variable \"str\" shadows a variable at a preceding level

Dupla hozzászólás automatikusan összefûzve. ( 2012. június 26. - 18:23:18 )

Segítsetek....ez mit jelent?
 
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\..\\y_debug.inc(276) : warning 219: local variable \"str\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\..\\y_debug.inc(338) : warning 219: local variable \"str\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\..\\y_debug.inc(343) : warning 219: local variable \"str\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\..\\y_amx.inc(409) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\..\\y_amx.inc(442) : warning 219: local variable \"str\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\..\\y_amx.inc(468) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\..\\y_amx.inc(508) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\..\\y_amx.inc(593) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\..\\y_amx.inc(644) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\..\\y_amx.inc(686) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\..\\y_amx.inc(778) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\..\\y_amx.inc(798) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\..\\y_amx.inc(818) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\..\\y_amx.inc(838) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\..\\y_amx.inc(858) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\..\\y_amx.inc(878) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\..\\y_amx.inc(892) : warning 219: local variable \"str\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\..\\y_amx.inc(896) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\..\\y_amx.inc(914) : warning 219: local variable \"str\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\..\\y_utils.inc(237) : warning 219: local variable \"str\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\..\\y_utils.inc(360) : warning 219: local variable \"str\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\..\\y_utils.inc(387) : warning 219: local variable \"str\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\..\\y_utils.inc(466) : warning 219: local variable \"str\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(192) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(221) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(363) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(425) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(496) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(564) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(751) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(814) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(876) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(956) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(1021) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(1084) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(1151) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(1214) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(1279) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(1344) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(1409) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(1474) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(1541) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(1606) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(1673) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(1736) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(1799) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(1862) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(1912) : warning 219: local variable \"cmd\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(1925) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(1988) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(2051) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(2114) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(2179) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(2244) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(2311) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(2378) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(2445) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(2514) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(2579) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(2649) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(2714) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(2777) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(2844) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(2911) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(2978) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(3041) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(3106) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(3171) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(3236) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(3301) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(3372) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(3439) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(3508) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI\\internal\\y_dohooks.inc(3726) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI/y_debug.inc(276) : warning 219: local variable \"str\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI/y_debug.inc(276) : error 084: state conflict: one of the states is already assigned to another implementation (symbol \"Debug_Print0\")
E:\\Samp szerver\\pawno\\include\\YSI/y_debug.inc(338) : warning 219: local variable \"str\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI/y_debug.inc(338) : error 084: state conflict: one of the states is already assigned to another implementation (symbol \"Debug_Print0\")
E:\\Samp szerver\\pawno\\include\\YSI/y_debug.inc(343) : warning 219: local variable \"str\" shadows a variable at a preceding level
E:\\Samp szerver\\pawno\\include\\YSI/y_debug.inc(343) : error 084: state conflict: one of the states is already assigned to another implementation (symbol \"Debug_Print0\")
E:\\Samp szerver\\pawno\\include\\fixchars.h(89) : warning 219: local variable \"idx\" shadows a variable at a preceding level
E:\\Samp szerver\\tdm.pwn(312) : warning 217: loose indentation
E:\\Samp szerver\\tdm.pwn(317) : warning 217: loose indentation
E:\\Samp szerver\\tdm.pwn(325) : warning 217: loose indentation
E:\\Samp szerver\\tdm.pwn(333) : warning 217: loose indentation
E:\\Samp szerver\\tdm.pwn(366) : warning 235: public function lacks forward declaration (symbol \"OnPlayerCommandPerformed\")
E:\\Samp szerver\\tdm.pwn(395) : warning 204: symbol is assigned a value that is never used: \"string\"
E:\\Samp szerver\\tdm.pwn(669) : warning 217: loose indentation
E:\\Samp szerver\\tdm.pwn(791) : warning 203: symbol is never used: \"cmd\"
E:\\Samp szerver\\tdm.pwn(791) : warning 203: symbol is never used: \"idx\"
E:\\Samp szerver\\tdm.pwn(791) : warning 203: symbol is never used: \"strtok\"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase
 
3 Errors.

 
INCLUDES:
#include <3DMenu>
#include <YSI/y_debug>
#include <fixchars.h>
#include <zcmd>
asszem ennyi
« Utoljára szerkesztve: 2012. június 26. - 18:23:18 írta ReMoTe »

Itt kérdezz warningot/error -t!
« Válasz #57 Dátum: 2012. június 27. - 15:46:34 »
0 Show voters
C:\\Users\\user\\AppData\\Local\\Temp\\Rar$DI64.616\\hunger.pwn(17) : error 017: undefined symbol \"INVALID_BAR_ID\"
C:\\Users\\user\\AppData\\Local\\Temp\\Rar$DI64.616\\hunger.pwn(41) : error 017: undefined symbol \"GetProgressBarValue\"
C:\\Users\\user\\AppData\\Local\\Temp\\Rar$DI64.616\\hunger.pwn(47) : error 017: undefined symbol \"GetProgressBarValue\"
C:\\Users\\user\\AppData\\Local\\Temp\\Rar$DI64.616\\hunger.pwn(49) : error 017: undefined symbol \"SetProgressBarValue\"
C:\\Users\\user\\AppData\\Local\\Temp\\Rar$DI64.616\\hunger.pwn(51) : error 017: undefined symbol \"GetProgressBarValue\"
C:\\Users\\user\\AppData\\Local\\Temp\\Rar$DI64.616\\hunger.pwn(77) : error 017: undefined symbol \"SetProgressBarValue\"
C:\\Users\\user\\AppData\\Local\\Temp\\Rar$DI64.616\\hunger.pwn(86) : error 017: undefined symbol \"UpdateProgressBar\"
C:\\Users\\user\\AppData\\Local\\Temp\\Rar$DI64.616\\hunger.pwn(104) : error 017: undefined symbol \"GetProgressBarValue\"
C:\\Users\\user\\AppData\\Local\\Temp\\Rar$DI64.616\\hunger.pwn(107) : error 017: undefined symbol \"GetProgressBarValue\"
C:\\Users\\user\\AppData\\Local\\Temp\\Rar$DI64.616\\hunger.pwn(123) : error 017: undefined symbol \"CreateProgressBar\"
C:\\Users\\user\\AppData\\Local\\Temp\\Rar$DI64.616\\hunger.pwn(123) : warning 213: tag mismatch
C:\\Users\\user\\AppData\\Local\\Temp\\Rar$DI64.616\\hunger.pwn(124) : error 017: undefined symbol \"ShowProgressBarForPlayer\"
C:\\Users\\user\\AppData\\Local\\Temp\\Rar$DI64.616\\hunger.pwn(126) : error 017: undefined symbol \"SetProgressBarValue\"
C:\\Users\\user\\AppData\\Local\\Temp\\Rar$DI64.616\\hunger.pwn(132) : error 017: undefined symbol \"SetProgressBarValue\"
C:\\Users\\user\\AppData\\Local\\Temp\\Rar$DI64.616\\hunger.pwn(146) : error 017: undefined symbol \"SetProgressBarValue\"
C:\\Users\\user\\AppData\\Local\\Temp\\Rar$DI64.616\\hunger.pwn(153) : error 017: undefined symbol \"SetProgressBarValue\"
C:\\Users\\user\\AppData\\Local\\Temp\\Rar$DI64.616\\hunger.pwn(160) : error 017: undefined symbol \"SetProgressBarValue\"
Pawn compiler 3.2.3664           Copyright © 1997-2006, ITB CompuPhase
16 Errors.
 
new Bar:hungry[MAX_PLAYERS] = {INVALID_BAR_ID, ...};
if(GetProgressBarValue(hungry[playerid]) <= 0)
if(GetProgressBarValue(hungry[playerid]) <= 0)
SetProgressBarValue(hungry[playerid], 0);
SetProgressBarValue(hungry[playerid], GetProgressBarValue(hungry[playerid])-2);
UpdateProgressBar(hungry[playerid], playerid);
    PInfo[playerid][Hunger] = floatround(GetProgressBarValue(hungry[playerid]));
       dini_IntSet(file,\"Hunger\",floatround(GetProgressBarValue(hungry[playerid])));
hungry[playerid] = CreateProgressBar(528.00, 115.00, 76.50, 8.50, 0x0000BBAA, 100.0);
ShowProgressBarForPlayer(playerid, hungry[playerid]);
SetProgressBarValue(hungry[playerid], dini_Int(file,\"Hunger\"));SetProgressBarValue(hungry[playerid], 100);
    SetProgressBarValue(hungry[playerid], GetProgressBarValue(hungry[playerid])+15);          SetProgressBarValue(hungry[playerid], GetProgressBarValue(hungry[playerid])+25);
    SetProgressBarValue(hungry[playerid], GetProgressBarValue(hungry[playerid])+12);

 
Ezekre mért ír hibát?

Itt kérdezz warningot/error -t!
« Válasz #58 Dátum: 2012. június 27. - 16:20:45 »
0 Show voters
E:\\Samp szerver\\gamemodes\\gm.pwn(11) : error 017: undefined symbol \"GetPlayerWeapon\"
E:\\Samp szerver\\gamemodes\\gm.pwn(11) : warning 215: expression has no effect
E:\\Samp szerver\\gamemodes\\gm.pwn(11) : error 001: expected token: \";\", but found \")\"
E:\\Samp szerver\\gamemodes\\gm.pwn(11) : error 029: invalid expression, assumed zero
E:\\Samp szerver\\gamemodes\\gm.pwn(11) : fatal error 107: too many error messages on one line
Ezek mik lennének,illetve hogyan javíthatom?

Itt kérdezz warningot/error -t!
« Válasz #59 Dátum: 2012. június 27. - 16:22:24 »
0 Show voters
Másold be a hibás sort.

Dupla hozzászólás automatikusan összefûzve. ( 2012. június 28. - 10:52:22 )

            new na[MAX_PLAYER_NAME];
          GetPlayerName(playerid, na, sizeof(na))
        if (!IsRPName(na))
    {
        SendClientMessage(playerid, 0xff0000ff, \"Ez egy RolePlay szerver, RP-s névvel lépj be!\");
        return Kick(playerid);
    }

 
(599) : error 001: expected token: \";\", but found \"if\"
Pawn compiler 3.2.3664           Copyright © 1997-2006, ITB CompuPhase
1 Error.
De ha beteszem a \";\" akkor
599) : error 001: expected token: \";\", but found \"if\"
(599) : error 036: empty statement
(604) : warning 225: unreachable code
Pawn compiler 3.2.3664           Copyright © 1997-2006, ITB CompuPhase
2 Errors.
« Utoljára szerkesztve: 2012. június 28. - 10:52:22 írta N@rbirock »

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal