Szerző Téma: Infobox (InfoTextDrawCreate)  (Megtekintve 928 alkalommal)

Infobox (InfoTextDrawCreate)
« Dátum: 2015. október 30. - 22:19:01 »
0 Show voters
Sziasztok! Egy kis probléma jelent meg amikor próbáltam lefuttatni az InfoBox filterscriptet.
 
/*
-= SA:MP InfoBox =-
Készítette: FranK(Csabesz)
Verzió: 0.1a
Kiadva: 2010.11.20
-= Teszt Filterscript =-
*/
#include <a_samp>
#include <zcmd>
#include <mInfo>
CMD:infobox ( playerid, params [ ] )
{
    InfoTextDrawCreate ( playerid, \"SA:MP Info Box!~n~Készítette: FranK~n~Verzió: 0.1a~n~Kiadva: 2010.11.20\"  );
return 1;
}
CMD:infobox2 ( playerid, params [ ] )
{
    InfoTextDrawCreate ( playerid, \"~r~Szinesen ~w~is ~g~lehet ~y~használni ~r~!~n~~w~Illetve ~r~több soros ~g~is lehet.~n~~w~Olyan mind ~r~Single Playerbe ~y~:)~w~\"  );
return 1;
}
CMD:nocarshopinfobox ( playerid, params [ ] )
{
    InfoTextDrawCreate ( playerid, \"Ne menjetek az autókereskedéshez, mert autófeltöltés van. Aki odamegy 1000 MP AJ- t kap!\"  );
return 1;
}
CMD:szerverresiinfobox ( playerid, params [ ] )
{
    InfoTextDrawCreate ( playerid, \"Hamarosan Szerver Restart!\"  );
return 1;
}
CMD:arvizrpinfobox ( playerid, params [ ] )
{
    InfoTextDrawCreate ( playerid, \"Árvíz RP lesz! A kezdésnél felhívják figyelmedet a rendőrök/tekesek.\"  );
return 1;
}
CMD:eventleszinfobox ( playerid, params [ ] )
{
    InfoTextDrawCreate ( playerid, \"A szerveren GoKart Event lesz! Jelentkezzetek /kerdes -ben!\"  );
return 1;
}

 
Hibák:C:\\Users\\Admin\\Desktop\\TEST SAMP SZERVER\\filterscripts\\infobox.pwn(17) : error 017: undefined symbol \"InfoTextDrawCreate\"

C:\\Users\\Admin\\Desktop\\TEST SAMP SZERVER\\filterscripts\\infobox.pwn(23) : error 017: undefined symbol \"InfoTextDrawCreate\"


C:\\Users\\Admin\\Desktop\\TEST SAMP SZERVER\\filterscripts\\infobox.pwn(29) : error 017: undefined symbol \"InfoTextDrawCreate\"


C:\\Users\\Admin\\Desktop\\TEST SAMP SZERVER\\filterscripts\\infobox.pwn(35) : error 017: undefined symbol \"InfoTextDrawCreate\"


C:\\Users\\Admin\\Desktop\\TEST SAMP SZERVER\\filterscripts\\infobox.pwn(41) : error 017: undefined symbol \"InfoTextDrawCreate\"


C:\\Users\\Admin\\Desktop\\TEST SAMP SZERVER\\filterscripts\\infobox.pwn(47) : error 017: undefined symbol \"InfoTextDrawCreate\"


Pawn compiler 3.2.3664           Copyright © 1997-2006, ITB CompuPhase


6 Errors.



Válaszokat előre is köszönöm!

Nem elérhető divkn

  • 3259
    • Profil megtekintése
Infobox (InfoTextDrawCreate)
« Válasz #1 Dátum: 2015. október 30. - 22:31:55 »
0 Show voters
Egy picit érdekes, mert amit én találtam InfoBox FranK-től ott InfoBox.inc a függvénykönyvtár neve, nem mInfo. Akkor valószínűleg az include mappádban van egy mInfo.inc fájl, amely több mint valószínű nem az a fájl amit a szkript kér.
Írd át szerintem az #include <mInfo> részt #include <InfoBox> -ra, ha nincs ilyen függvénykönyvtár, akkor a letöltött függvénykönyvtárt helyezd be.
Ezt a szkriptet néztem: https://sampforum.hu/index.php?topic=7991.msg92693#msg92693

Infobox (InfoTextDrawCreate)
« Válasz #2 Dátum: 2015. október 31. - 10:48:44 »
0 Show voters
Nagyon szépen köszönöm divkn  :thumbsup: ! A téma megoldva.  :)

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal