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

Nem elérhető Sanyko

  • 324
    • Profil megtekintése
Itt kérdezz warningot/error -t!
« Válasz #975 Dátum: 2015. Augusztus 20. - 19:26:53 »
0 Show voters
D:\\Stunt\\filterscripts\\mapok.pwn(1) : error 010: invalid function or declaration
D:\\Stunt\\filterscripts\\mapok.pwn(1) : error 010: invalid function or declaration
D:\\Stunt\\filterscripts\\mapok.pwn(1 -- 2) : error 021: symbol already defined: \"RemoveBuildingForPlayer\"
D:\\Stunt\\filterscripts\\mapok.pwn(1 -- 2) : fatal error 107: too many error messages on one line

 
Valaki segítsen!
[gmod]
[ /code] tagket használni[/gmod]
« Utoljára szerkesztve: 2015. Augusztus 21. - 13:35:16 írta RusH. »

ᗩωєѕσмє

  • Vendég
Itt kérdezz warningot/error -t!
« Válasz #976 Dátum: 2015. Augusztus 20. - 19:33:09 »
0 Show voters
A RemoveBuildingForPlayer-t az OnPlayerConnect alá tedd.

Itt kérdezz warningot/error -t!
« Válasz #977 Dátum: 2015. Augusztus 21. - 09:49:29 »
0 Show voters
Helló itt a probléma:
Mikor felmegyek egy servere ezt írja ki: Connection rejected: Unacceptable nickname
Mi lehet a baj?

Nem elérhető anGeL

  • Adminisztrátor
  • 2158
    • Profil megtekintése
Itt kérdezz warningot/error -t!
« Válasz #978 Dátum: 2015. Augusztus 21. - 10:30:14 »
0 Show voters
Vagy valaki már online a neveddel, vagy olyak karaktert tartalmaz a neved amit a SAMP nem szívlel.

Itt kérdezz warningot/error -t!
« Válasz #979 Dátum: 2015. Augusztus 21. - 14:36:55 »
0 Show voters
Sziasztok! Beletettem a gamemodba a realtime cuccost, szerencsére meg tudtam oldani hogy ne errorozzon, de viszont van két warning, és nem jövök rá hogy hogyan lehetne ezt kijavítani!
 
C:\\Users\\Tibi\\Desktop\\SaMp szerver\\pawno\\include\\dutils.inc(45) : warning 219: local variable \"hour\" shadows a variable at a preceding level
C:\\Users\\Tibi\\Desktop\\SaMp szerver\\pawno\\include\\dutils.inc(45) : warning 219: local variable \"minute\" shadows a variable at a preceding level

Nem elérhető Sanyko

  • 324
    • Profil megtekintése
Itt kérdezz warningot/error -t!
« Válasz #980 Dátum: 2015. Augusztus 21. - 15:03:34 »
0 Show voters
D:\\Stunt\\gamemodes\\mod.pwn(61) : warning 201: redefinition of constant/macro (symbol \"COLOR_YELLOW\")
D:\\Stunt\\gamemodes\\mod.pwn(65) : warning 201: redefinition of constant/macro (symbol \"COLOR_ORANGE\")
D:\\Stunt\\gamemodes\\mod.pwn(196) : error 020: invalid symbol name \"\"
D:\\Stunt\\gamemodes\\mod.pwn(1167) : error 022: must be lvalue (non-constant)
D:\\Stunt\\gamemodes\\mod.pwn(1168) : warning 213: tag mismatch
D:\\Stunt\\gamemodes\\mod.pwn(1169) : warning 213: tag mismatch
D:\\Stunt\\gamemodes\\mod.pwn(1170) : warning 213: tag mismatch
D:\\Stunt\\gamemodes\\mod.pwn(1250) : warning 204: symbol is assigned a value that is never used: \"string\"
D:\\Stunt\\gamemodes\\mod.pwn(1260) : warning 204: symbol is assigned a value that is never used: \"string\"
D:\\Stunt\\gamemodes\\mod.pwn(1364) : warning 213: tag mismatch
D:\\Stunt\\gamemodes\\mod.pwn(1467) : warning 213: tag mismatch
D:\\Stunt\\gamemodes\\mod.pwn(1617) : warning 219: local variable \"name\" shadows a variable at a preceding level
D:\\Stunt\\gamemodes\\mod.pwn(1699) : warning 219: local variable \"name\" shadows a variable at a preceding level
D:\\Stunt\\gamemodes\\mod.pwn(1787) : warning 219: local variable \"name\" shadows a variable at a preceding level
D:\\Stunt\\gamemodes\\mod.pwn(2317) : warning 219: local variable \"name\" shadows a variable at a preceding level
D:\\Stunt\\gamemodes\\mod.pwn(4466) : warning 203: symbol is never used: \"\"
D:\\Stunt\\gamemodes\\mod.pwn(4466) : warning 203: symbol is never used: \"Cash\"
D:\\Stunt\\gamemodes\\mod.pwn(4466) : warning 203: symbol is never used: \"CmdChars\"
D:\\Stunt\\gamemodes\\mod.pwn(4466) : warning 203: symbol is never used: \"CommandReactionTestEndTimer\"
D:\\Stunt\\gamemodes\\mod.pwn(4466) : warning 203: symbol is never used: \"CommandReactionTimer\"
D:\\Stunt\\gamemodes\\mod.pwn(4466) : warning 203: symbol is never used: \"CommandTestBusy\"
D:\\Stunt\\gamemodes\\mod.pwn(4466) : warning 203: symbol is never used: \"Teleports\"
D:\\Stunt\\gamemodes\\mod.pwn(4466) : warning 203: symbol is never used: \"help\"
D:\\Stunt\\gamemodes\\mod.pwn(4466) : warning 203: symbol is never used: \"rules\"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase

 
2 Errors.
Mi a bibi?
« Utoljára szerkesztve: 2015. Augusztus 21. - 19:33:29 írta ScreaM »

ᗩωєѕσмє

  • Vendég
Itt kérdezz warningot/error -t!
« Válasz #981 Dátum: 2015. Augusztus 21. - 15:09:28 »
0 Show voters
#Sanyko.
-symbol is never used: Nincs használatban az xy dolog.
-redefinition of constant/macro: 2x van definálva a COLOR_YELLOW, COLOR_ORANGE.
-tag mismatch: nem flaotként hoztad létre.

Nem elérhető Sanyko

  • 324
    • Profil megtekintése
Itt kérdezz warningot/error -t!
« Válasz #982 Dátum: 2015. Augusztus 21. - 15:18:05 »
0 Show voters
Idézetet írta: ᗩωєѕσмє date=1440162568\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"22125\" data-ipsquote-contentclass=\"forums_Topic
#Sanyko.
-symbol is never used: Nincs használatban az xy dolog.
-redefinition of constant/macro: 2x van definálva a COLOR_YELLOW, COLOR_ORANGE.
-tag mismatch: nem flaotként hoztad létre.
 

   TextDrawFont(Time,2);
TextDrawLetterSize(Time,0.399999,1.600000);
TextDrawColor(Time,0x00ff04FF);

 
Ezeket hogy hozzam létre float-ként?
« Utoljára szerkesztve: 2015. Augusztus 21. - 19:33:49 írta ScreaM »

Itt kérdezz warningot/error -t!
« Válasz #983 Dátum: 2015. Augusztus 22. - 16:50:54 »
0 Show voters
(3) : fatal error 100: cannot read from file: \"y_ini\"
Compilation aborted.Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase
 
1 Error.

 
Miért van?

ᗩωєѕσмє

  • Vendég
Itt kérdezz warningot/error -t!
« Válasz #984 Dátum: 2015. Augusztus 22. - 17:01:06 »
0 Show voters
Nem tudta betölteni a(z) y_ini.inc-et.
Benne van a pawno -> include mappába egyáltalán?

Itt kérdezz warningot/error -t!
« Válasz #985 Dátum: 2015. Augusztus 22. - 17:04:43 »
0 Show voters
Pawno/include/y_ini.inc
Pawno/include/y_ini mappa
Ezek mind vannak... Ötlet?

Itt kérdezz warningot/error -t!
« Válasz #986 Dátum: 2015. Augusztus 22. - 21:01:13 »
0 Show voters
C:\\Users\\Kenny™ és Albert™\\Desktop\\Új mappa\\dani szervere\\filterscripts\\inventory.pwn(25) : error 010: invalid function or declaration
C:\\Users\\Kenny™ és Albert™\\Desktop\\Új mappa\\dani szervere\\filterscripts\\inventory.pwn(27) : error 010: invalid function or declaration
C:\\Users\\Kenny™ és Albert™\\Desktop\\Új mappa\\dani szervere\\filterscripts\\inventory.pwn(29) : error 010: invalid function or declaration
C:\\Users\\Kenny™ és Albert™\\Desktop\\Új mappa\\dani szervere\\filterscripts\\inventory.pwn(32) : error 010: invalid function or declaration

 
hibás sorok:
 
if(PRESSED(KEY_YES))
           {
               if(IsPlayerInAnyVehicle(playerid))
               {
                   if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
                   {
                        ShowInventory(playerid);
            return 1;
                    }
                    return 1;
               }
            }
« Utoljára szerkesztve: 2015. Augusztus 22. - 21:10:16 írta bela0209 »

Itt kérdezz warningot/error -t!
« Válasz #987 Dátum: 2015. Augusztus 22. - 21:13:21 »
0 Show voters
Sziasztok, miért van ez a hiba?
 
pawno\\include\\y_ini.inc(206) : fatal error 100: cannot read from file: \"..\\amx\\os\"
Compilation aborted.Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase
 
1 Error.

Itt kérdezz warningot/error -t!
« Válasz #988 Dátum: 2015. Augusztus 26. - 13:39:54 »
0 Show voters
Sziasztok! Nekem olyanpróblémám lenne hogy menteném el a pawnot, és ezeket a warningokat adja be.
 
C:\\Users\\Karcsi\\Desktop\\ \\pawno\\RRPG461.pwn(6553) : warning 235: public function lacks forward declaration (symbol \"OnPlayerWeaponShot\")
C:\\Users\\Karcsi\\Desktop\\ \\pawno\\RRPG461.pwn(6555) : error 017: undefined symbol \"BULLET_HIT_TYPE_PLAYER\"
C:\\Users\\Karcsi\\Desktop\\ \\pawno\\RRPG461.pwn(6563) : error 017: undefined symbol \"BULLET_HIT_TYPE_VEHICLE\"
C:\\Users\\Karcsi\\Desktop\\ \\pawno\\RRPG461.pwn(11535) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase
 
3 Errors.
« Utoljára szerkesztve: 2015. Augusztus 26. - 13:40:35 írta Flash »

Itt kérdezz warningot/error -t!
« Válasz #989 Dátum: 2015. Augusztus 27. - 08:33:56 »
0 Show voters
Sziasztok!
Elkezdtem csinálni egy textdrawot,mindent úgy csináltam ahogy a videóba volt de mikor runolom ezt adja ki
D:\\Teszt.pwn(39) : warning 203: symbol is never used: \"Textdraw0\"
Kód:
 
new Text:Textdraw0;
#include <a_samp>
#if defined FILTERSCRIPT
 
public OnPlayerConnect(playerid)
{
Textdraw0(playerid);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
return 1;
}
public OnPlayerSpawn(playerid)
{
TextDrawHideForPlayer(playerid, Textdraw0);
TextDrawDestroy(Textdraw0);
return 1;
}
 
Textdraw0(playerid)
{
Textdraw0 = TextDrawCreate(0.000000, 0.000000, \"splash1:splash1\");
TextDrawLetterSize(Textdraw0, 0.000000, 0.000000);
TextDrawTextSize(Textdraw0, 640.000000, 448.000000);
TextDrawAlignment(Textdraw0, 1);
TextDrawColor(Textdraw0, -1);
TextDrawSetShadow(Textdraw0, 0);
TextDrawSetOutline(Textdraw0, 0);
TextDrawFont(Textdraw0, 4);
}
#endif

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal