Üzenetek megjelenítése

Ez a szekció lehetővé teszi a felhasználó által írt összes hozzászólás megtekintését. Vedd figyelembe, hogy csak azokba a fórumokba írt hozzászólásokat látod, amelyekhez hozzáférésed van.


Üzenetek - willianhunt

Oldalak: [1] 2 3 ... 10
1
Segítségkérés / Re:Xampp mysql ékezet karakter mentés probléma
« Dátum: 2020. Február 12. - 18:34:33 »
Helló, valaki tudna ebben segíteni?
[18:33:09] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:09] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:09] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:09] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:09] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:09] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:09] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:09] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:10] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:11] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:12] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:13] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:13] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:13] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:13] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:13] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:13] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:13] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:13] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:13] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:13] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:13] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:13] [ERROR] cache_get_field_content_int - invalid datatype
[18:33:13] [ERROR] cache_get_field_content_int - invalid datatype

2
Segítségkérés / Re:Xampp mysql ékezet karakter mentés probléma
« Dátum: 2020. Február 11. - 13:23:51 »
Köszönöm a segítséget mysql probléma volt

3
Segítségkérés / Re:Xampp mysql ékezet karakter mentés probléma
« Dátum: 2020. Február 10. - 15:05:00 »
Nem jó mindig úgy menti le a ékezeteket "?????????"

4
Segítségkérés / Xampp mysql ékezet karakter mentés probléma
« Dátum: 2020. Február 09. - 17:45:36 »
SZiasztok, valaki tudna ebbe segíteni mert minden be van állítva xampp-ba és még is így menti le sql-be
nem ismeri fel a ékezet betűket ez minek van ?
utf8_hungarian_ci
?tterem

5
Segítségkérés / Re:mysql probléma
« Dátum: 2020. Február 07. - 23:58:02 »
Szia, köszönöm a segítséget! 
 minek adja ki ezt és miért nem írja ki a játékba a nevet mi a probléma?
 [WARNING] cache_get_data - no active cache

6
Segítségkérés / Re:Nemtudom mi lehet a probléma!
« Dátum: 2020. Február 05. - 17:52:54 »
küld el ezta sort a modból
esktop\szero\gamemodes\tesztga.pwn:59540

7
Segítségkérés / Re:mysql probléma
« Dátum: 2020. Február 05. - 17:51:20 »
hali, valaki tud ebben segíteni ?

[17:44:35] [ERROR] mysql_format - invalid connection handle (id: 0)
[17:44:35] [ERROR] mysql_tquery - invalid connection handle (id: 0)
[17:44:35] [ERROR] mysql_format - invalid connection handle (id: 0)
[17:44:35] [ERROR] mysql_query - invalid connection handle (id: 0)
[17:44:35] [ERROR] mysql_format - invalid connection handle (id: 0)
[17:44:35] [ERROR] mysql_tquery - invalid connection handle (id: 0)

8
Segítségkérés / Re:mysql probléma
« Dátum: 2020. Február 04. - 18:34:58 »
Köszi, de akar hogy csinálom akkor se jó szerintem az a gond hogy nem Spawnoltam le a karakterrel és így nem tudja meg határozni az idjét a karakternek és azért írja mindig 0-t

így is jónak kell lennie nem? sehogy se tudom lekérni a players idjét!
stock setPlayerKarakterreg(playerid) {

new tempStr[4][32];
 
 

new tempStrnev[32];
GetPVarString(playerid, #Felhasznalonev, tempStrnev, 32);

GetPVarString(playerid, #pName, tempStr[0], 32);
GetPVarString(playerid, #pKor, tempStr[1], 32);
GetPVarString(playerid, #pNem, tempStr[2], 32);
GetPVarString(playerid, #pSzarmazas, tempStr[3], 32);

new i = cache_insert_id(0);
     

mysql_format(g_SQL,mysql_uzenet,sizeof(mysql_uzenet),"INSERT INTO `players` (id,pName) VALUES('%i','%s')",  pInfo[i][id],tempStr[0]);
mysql_tquery(g_SQL, mysql_uzenet );
printf("Karakteruzi: %s",mysql_uzenet);

 
mysql_format(g_SQL,mysql_uzenet,sizeof(mysql_uzenet),"UPDATE `accounts` SET `char_2` = '%i' WHERE `Felhasznalonev` = '%s' ", accInfo[i][accountid], tempStrnev);
mysql_query(g_SQL,mysql_uzenet);
printf("Accountuzi: %s",mysql_uzenet);

 

 

hideCharPanel(playerid);

SCM(playerid, HEX_WHITE, "Karaktered elkészült!");
showCharPanel(playerid);
LoadCharacterSelection(playerid);


 
           


return 1;
}
 

9
Segítségkérés / Re:mysql probléma
« Dátum: 2020. Február 04. - 12:50:21 »
Adatbázisban be van állítva  ID-hez auto increment karakter de nem kéri le az idjét az minek van ?

10
Segítségkérés / Re:mysql probléma
« Dátum: 2020. Február 04. - 11:09:30 »
Szia, ez megolva! de van egy olyan dolog hogy össze akarom kötni a accounts rendszer a players-sel de nem tudom mivel nem hozza létre az idjét vagy létrehozza csak 0 változó ként hozza létre ez miért van?
azért van mert nem spawnolt le a player és nem tudja meghatározni az idjét? ha igen akkor mit kell tegyek hogy hozza létre ahogy kell ?
 
INSERT INTO `players` (id,pName) VALUES('0','Test_Elek')
[00:23:55]  UPDATE `accounts` SET `char_2` = '0' WHERE `Felhasznalonev` = 'test'

11
Segítségkérés / mysql probléma
« Dátum: 2020. Február 03. - 17:33:30 »
Szia,ebben tud valaki segiteni ?
 [22:31:34] [DEBUG] mysql_format - connection: 1, len: 1024, format: "INSERT INTO `players` (id,pName,pKor,pNem,pSzarmazas,pOnline ) VALUES('%d','%s','%d','%s','%s','1')"
[22:31:34] [DEBUG] mysql_tquery - connection: 1, query: "INSERT INTO `players` (id,pName,pKor,pNem,pSzarmazas,pOnline ) V", callback: "(null)", format: "(null)"
[22:31:34] [DEBUG] mysql_format - connection: 1, len: 1024, format: "UPDATE `accounts` SET `char_1` = '%i' WHERE `id` = '%i' "
[22:31:34] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[22:31:34] [DEBUG] mysql_query - connection: 1, query: "UPDATE `accounts` SET `char_1` = '0' WHERE `id` = '0' ", use_cache: true
[22:31:34] [DEBUG] CMySQLQuery::Execute[] - query was successfully executed within 5.819 milliseconds
[22:31:34] [DEBUG] CMySQLQuery::Execute[] - no callback specified, skipping result saving
[22:31:34] [DEBUG] CMySQLQuery::Execute - starting query execution
[22:31:34] [DEBUG] CMySQLQuery::Execute - query was successfully executed within 9.759 milliseconds
[22:31:34] [DEBUG] CMySQLResult::CMySQLResult() - constructor called
[22:31:35] [DEBUG] CMySQLHandle::SaveActiveResult - cache saved (id: 3)
[22:31:35] [DEBUG] mysql_format - connection: 1, len: 1024, format: "SELECT * FROM `players` WHERE `id` = '%i'"
[22:31:35] [DEBUG] mysql_tquery - connection: 1, query: "SELECT * FROM `players` WHERE `id` = '0'", callback: "LoadCharacter", format: "i"
[22:31:35] [DEBUG] CMySQLQuery::Execute[LoadCharacter] - starting query execution
[22:31:35] [DEBUG] CMySQLQuery::Execute[LoadCharacter] - query was successfully executed within 0.870 milliseconds
[22:31:35] [DEBUG] CMySQLResult::CMySQLResult() - constructor called
[22:31:35] [DEBUG] Calling callback "LoadCharacter"..
[22:31:35] [DEBUG] cache_get_data - connection: 1
[22:31:35] [DEBUG] CMySQLResult::~CMySQLResult() - deconstructor called
[22:38:49] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `players` SET `pOnline` = '0'", callback: "(null)", format: "(null)"
[22:38:49] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[22:38:49] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[22:38:49] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[22:38:49] [DEBUG] CMySQLConnection::Connect - connection was successful
[22:38:49] [DEBUG] mysql_query - connection: 1, query: "UPDATE `vehicles` SET `vID` = '-1'", use_cache: true
[22:38:49] [DEBUG] CMySQLConnection::Connect - connection was successful
[22:38:49] [DEBUG] CMySQLConnection::Connect - connection was successful
[22:38:49] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled
[22:38:49] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled
[22:38:49] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled
[22:38:49] [DEBUG] CMySQLQuery::Execute - starting query execution
[22:38:49] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[22:38:49] [DEBUG] CMySQLQuery::Execute - query was successfully executed within 4.29 milliseconds
[22:38:49] [DEBUG] CMySQLResult::CMySQLResult() - constructor called
[22:38:49] [DEBUG] CMySQLQuery::Execute[] - query was successfully executed within 3.692 milliseconds
[22:38:49] [DEBUG] CMySQLQuery::Execute[] - no callback specified, skipping result saving
[22:38:49] [DEBUG] CMySQLHandle::SaveActiveResult - cache saved (id: 1)
[22:38:49] [DEBUG] mysql_tquery - connection: 1, query: "SELECT * FROM `vehicles` WHERE `TulajSQLID` = '0'", callback: "OnVehicleLoad", format: "(null)"
 
 

12
Segítségkérés / Re:Itt kérdezz warningot/error -t!
« Dátum: 2020. Január 13. - 18:04:15 »
for(new i; i < MAX_TARGY; i++) { InvID[playerid][i] = 0; strmid(InvSzovegLekerdezes[playerid][i],"Üres",0,64); InvIDLekerdezes[playerid][i] = 0; InvDarabLekerdezes[playerid][i] = 0; }return 1;//1790
fuggveny PickUpItem(playerid)
{
new teljesszoveg[2048],bool:talalt[MAX_PLAYERS];
1790 sor//for(new i; i < MAX_TARGY; i++) { InvID[playerid][i] = 0; strmid(InvSzovegLekerdezes[playerid][i],"Üres",0,64); InvIDLekerdezes[playerid][i] = 0; InvDarabLekerdezes[playerid][i] = 0; }
for(new i ; i < MAX_TARGY; i++)
{
if(IsPlayerInRangeOfPoint(playerid, 5.0, EldobottInfo[i][PosX],EldobottInfo[i][PosY],EldobottInfo[i][PosZ]))
{
InvIDLekerdezes[playerid][i] = i;
ideigleneslekerdezes[playerid][i] = i;
format(wszoveg128,64,"%s\t%d\n",EldobottTargy[i],EldobottInfo[i][Darabszam]);
format(teljesszoveg,2048,"%s%s",teljesszoveg,wszoveg128);
talalt[playerid] = true;
}
}
if(talalt[playerid] == false) return 1;
for(new i; i < MAX_TARGY; i++)
{
for(new x; x < MAX_TARGY; x++)
{
if(InvIDLekerdezes[playerid][x] != 0)
{
if(InvID[playerid][x] == 0)
{
InvDarabLekerdezes[playerid][x] = EldobottInfo[i][Darabszam];
InvID[playerid][x] = InvIDLekerdezes[playerid][i];
InventoryAutoID[playerid][x] = ideigleneslekerdezes[playerid][i];
strmid(InvSzovegLekerdezes[playerid][x],EldobottTargy[i],0,64);
InvIDLekerdezes[playerid][i] = 0;
}
}
}
}
format(wszoveg,sizeof(wszoveg),""#COL_LRED"Megnevezés\t"#COL_LRED"Darabszám\n%s",teljesszoveg);
ShowPlayerDialog(playerid, ELDOBOTT_TARGYAK, DIALOG_STYLE_TABLIST_HEADERS, ""#COL_LRED"[Eldobott Tárgyak]",wszoveg,"Felvesz","Kilépés");
return 1;
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys == KEY_FIRE)
{
if(pInfo[playerid][Iszik] == true && GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_DRINK_SPRUNK && pInfo[playerid][IszikTimer] == 0) { pInfo[playerid][Iszik] = false; SetPlayerSpecialAction(playerid,SPECIAL_ACTION_NONE); }
if(pInfo[playerid][Iszik] == true) {
pInfo[playerid][IszikTimer]--; Kozerzet(playerid, 2, -3); }
}
if(newkeys == KEY_NO)
{
ShowInventory(playerid);
return 1;
}
if(newkeys == KEY_YES)
{
if(pInfo[playerid][pBelepve] == false) return 1;
//SelectTextDraw(playerid, 0xAAAAAA50);
if(IsPlayerInRangeOfPoint(playerid, 2.0, -326.1909,1049.2335,19.7422) || IsPlayerInRangeOfPoint(playerid, 2.0, -323.0682,1050.5905,19.7422))
{
format(wszoveg,sizeof(wszoveg),""#COL_LRED"Név\t"#COL_LRED"Indok\n\
%s\t%s\n\
%s\t%s\n\
%s\t%s\n\
%s\t%s\n",Beteg[0],Ok[0],Beteg[1],Ok[1],Beteg[2],Ok[2],Beteg[3],Ok[3]);
ShowPlayerDialog(playerid, 9999, DIALOG_STYLE_TABLIST_HEADERS, ""#COL_LRED"[Kórházi Pácienslista]",
wszoveg, // Etc.
"OK", "");
return 1;
}
if(IsPlayerInShop(playerid)) return ShowBoltDialog(playerid);
if(IsPlayerInCarShop(playerid)) return ShowJarmuVasarlas(playerid);
if(IsPlayerInBank(playerid))
{
if(BszInfo[playerid][Bejelentkezve] == 0)
ShowPlayerDialog(playerid, DIALOG_UJBANK_ELSOPANEL, DIALOG_STYLE_LIST, "{FFF700}[Bankszámla Felület]", ""#COL_FEHER"Új Bankszámlaszám Létrehozása\nMeglévő Bankszámlaszám Használata", "Tovább","Kilépés");
else
ShowBankDialog(playerid);
return 1;
}
if(IsPlayerInRangeOfPoint(playerid, 3.0,1309.4163,1302.4043,10.9708))
{
ShowPlayerDialog(playerid, 9999, DIALOG_STYLE_MSGBOX, ""#COL_FEHER"Buszmegálló", ""#COL_FEHER"Buszjáratok.:\n"#COL_LRED"62E "#COL_FEHER"- Átlagos közlekedési idő - 5 perc - (Las Venturas Reptér - Fort Carson)\n\
"COL_LRED"63 "#COL_FEHER"- Átlagos közlekedési idő - 7 perc - (Las Venturas Reptér - Fort Carson)", "Kilépés","");
return 1;
}
if(IsPlayerInRangeOfPoint(playerid, 3.0,1344.1357,1258.2992,10.8203)) // Kávézó - Reptér
{
PlayerPlaySound(playerid, 1054, 0.0, 0.0, 10.0);
ShowPlayerDialog(playerid, DIALOG_KAVE, DIALOG_STYLE_TABLIST_HEADERS, ""#COL_LRED"[Kávé - Vásárlás]",
""#COL_FEHER"Termék\t"#COL_FEHER"Ár\t"#COL_FEHER"Darabszám\n\
Kávé\t$5\t1 (0.5l)\t-\n", // Etc.
"Vásárlás", "Vissza");

}
        HazAjtoKereses(playerid);
        IsPlayerAtBiznisz(playerid);
PickUpItem(playerid);

}
return 1;//1790
}

13
Segítségkérés / Re:Itt kérdezz warningot/error -t!
« Dátum: 2020. Január 13. - 17:46:37 »
igen meg csináltam 
[17:44:22] [debug] AMX backtrace:
[17:44:22] [debug] #0 000105b4 in public PickUpItem (playerid=0) at D:\mod\gamemodes\mod.pwn:900
[17:44:22] [debug] #1 0001aa88 in public OnPlayerKeyStateChange (playerid=0, newkeys=65536, oldkeys=0) at D:\mod\gamemodes\mod.pwn:1790
[17:44:28] [debug] Run time error 4: "Array index out of bounds"
[17:44:28] [debug]  Attempted to read/write array element at index 5 in array of size 5
[17:44:28] [debug] AMX backtrace:
[17:44:28] [debug] #0 000105b4 in public PickUpItem (playerid=0) at D:\mod\gamemodes\mod.pwn:900
[17:44:29] [debug] #1 0001aa88 in public OnPlayerKeyStateChange (playerid=0, newkeys=65536, oldkeys=0) at D:\mod\gamemodes\mod.pwn:1790
[17:44:34] [debug] Run time error 4: "Array index out of bounds"
[17:44:34] [debug]  Attempted to read/write array element at index 5 in array of size 5
[17:44:34] [debug] AMX backtrace:
[17:44:34] [debug] #0 000105b4 in public PickUpItem (playerid=0) at D:\mod\gamemodes\mod.pwn:900
[17:44:34] [debug] #1 0001aa88 in public OnPlayerKeyStateChange (playerid=0, newkeys=65536, oldkeys=0) at D:\mod\gamemodes\mod.pwn:1790
[17:44:35] [debug] Run time error 4: "Array index out of bounds"
[17:44:35] [debug]  Attempted to read/write array element at index 5 in array of size 5
[17:44:35] [debug] AMX backtrace:
[17:44:35] [debug] #0 000105b4 in public PickUpItem (playerid=0) at D:\mod\gamemodes\mod.pwn:900
[17:44:35] [debug] #1 0001aa88 in public OnPlayerKeyStateChange (playerid=0, newkeys=65536, oldkeys=0) at D:\mod\gamemodes\mod.pwn:1790
[17:44:35] [debug] Run time error 4: "Array index out of bounds"
[17:44:35] [debug]  Attempted to read/write array element at index 5 in array of size 5
[17:44:35] [debug] AMX backtrace:
[17:44:35] [debug] #0 000105b4 in public PickUpItem (playerid=0) at D:\mod\gamemodes\mod.pwn:900
[17:44:35] [debug] #1 0001aa88 in public OnPlayerKeyStateChange (playerid=0, newkeys=65536, oldkeys=0) at D:\mod\gamemodes\mod.pwn:1790
[17:44:35] [debug] Run time error 4: "Array index out of bounds"
[17:44:35] [debug]  Attempted to read/write array element at index 5 in array of size 5
[17:44:35] [debug] AMX backtrace:
[17:44:35] [debug] #0 000105b4 in public PickUpItem (playerid=0) at D:\mod\gamemodes\mod.pwn:900
[17:44:35] [debug] #1 0001aa88 in public OnPlayerKeyStateChange (playerid=0, newkeys=65536, oldkeys=0) at D:\mod\gamemodes\mod.pwn:1790
[17:44:35] [debug] Run time error 4: "Array index out of bounds"
[17:44:35] [debug]  Attempted to read/write array element at index 5 in array of size 5
[17:44:35] [debug] AMX backtrace:
[17:44:35] [debug] #0 000105b4 in public PickUpItem (playerid=0) at D:\mod\gamemodes\mod.pwn:900
[17:44:35] [debug] #1 0001aa88 in public OnPlayerKeyStateChange (playerid=0, newkeys=65536, oldkeys=0) at D:\mod\gamemodes\mod.pwn:1790

14
Segítségkérés / Re:Itt kérdezz warningot/error -t!
« Dátum: 2020. Január 13. - 17:30:00 »
Most ezt erre PickUpItem  írja hibát
[17:26:59] [debug] Run time error 4: "Array index out of bounds"
[17:26:59] [debug]  Accessing element at index 5 past array upper bound 4
[17:26:59] [debug] AMX backtrace:
[17:26:59] [debug] #0 000105b4 in public PickUpItem (0x00000000) from mod.amx
[17:26:59] [debug] #1 0001aabc in public OnPlayerKeyStateChange (0x00000000, 0x00010000, 0x00000000) from mod.amx
[17:27:06] [debug] Run time error 4: "Array index out of bounds"
[17:27:06] [debug]  Accessing element at index 5 past array upper bound 4
[17:27:06] [debug] AMX backtrace:
[17:27:06] [debug] #0 000105b4 in public PickUpItem (0x00000000) from mod.amx
[17:27:06] [debug] #1 0001aabc in public OnPlayerKeyStateChange (0x00000000, 0x00010000, 0x00000000) from mod.amx
[17:27:16] [debug] Run time error 4: "Array index out of bounds"
[17:27:16] [debug]  Accessing element at index 5 past array upper bound 4
[17:27:16] [debug] AMX backtrace:
[17:27:16] [debug] #0 000105b4 in public PickUpItem (0x00000000) from mod.amx
[17:27:16] [debug] #1 0001aabc in public OnPlayerKeyStateChange (0x00000000, 0x00010000, 0x00000000) from mod.amx
[17:27:25] [debug] Run time error 4: "Array index out of bounds"
[17:27:25] [debug]  Accessing element at index 5 past array upper bound 4
[17:27:25] [debug] AMX backtrace:
[17:27:25] [debug] #0 000105b4 in public PickUpItem (0x00000000) from mod.amx
[17:27:25] [debug] #1 0001aabc in public OnPlayerKeyStateChange (0x00000000, 0x00010000, 0x00000000) from mod.amx
[17:27:28] [debug] Run time error 4: "Array index out of bounds"
[17:27:28] [debug]  Accessing element at index 500 past array upper bound 499
[17:27:28] [debug] AMX backtrace:
[17:27:28] [debug] #0 00011608 in ?? (0x00000000) from mod.amx
[17:27:28] [debug] #1 0001aa7c in public OnPlayerKeyStateChange (0x00000000, 0x00010000, 0x00000000) from mod.amx
[17:27:32] [debug] Run time error 4: "Array index out of bounds"
[17:27:32] [debug]  Accessing element at index 500 past array upper bound 499
[17:27:32] [debug] AMX backtrace:
[17:27:32] [debug] #0 00011608 in ?? (0x00000000) from mod.amx
[17:27:32] [debug] #1 0001aa7c in public OnPlayerKeyStateChange (0x00000000, 0x00010000, 0x00000000) from mod.amx

fuggveny PickUpItem(playerid)
{
new teljesszoveg[2048],bool:talalt[MAX_PLAYERS];
for(new i; i < MAX_TARGY; i++) { InvID[playerid][i] = 0; strmid(InvSzovegLekerdezes[playerid][i],"Üres",0,64); InvIDLekerdezes[playerid][i] = 0; InvDarabLekerdezes[playerid][i] = 0; }
for(new i ; i < MAX_TARGY; i++)
{
if(IsPlayerInRangeOfPoint(playerid, 5.0, EldobottInfo[i][PosX],EldobottInfo[i][PosY],EldobottInfo[i][PosZ]))
{
InvIDLekerdezes[playerid][i] = i;
ideigleneslekerdezes[playerid][i] = i;
format(wszoveg128,64,"%s\t%d\n",EldobottTargy[i],EldobottInfo[i][Darabszam]);
format(teljesszoveg,2048,"%s%s",teljesszoveg,wszoveg128);
talalt[playerid] = true;
}
}
if(talalt[playerid] == false) return 1;
for(new i; i < MAX_TARGY; i++)
{
for(new x; x < MAX_TARGY; x++)
{
if(InvIDLekerdezes[playerid][x] != 0)
{
if(InvID[playerid][x] == 0)
{
InvDarabLekerdezes[playerid][x] = EldobottInfo[i][Darabszam];
InvID[playerid][x] = InvIDLekerdezes[playerid][i];
InventoryAutoID[playerid][x] = ideigleneslekerdezes[playerid][i];
strmid(InvSzovegLekerdezes[playerid][x],EldobottTargy[i],0,64);
InvIDLekerdezes[playerid][i] = 0;
}
}
}
}
format(wszoveg,sizeof(wszoveg),""#COL_LRED"Megnevezés\t"#COL_LRED"Darabszám\n%s",teljesszoveg);
ShowPlayerDialog(playerid, ELDOBOTT_TARGYAK, DIALOG_STYLE_TABLIST_HEADERS, ""#COL_LRED"[Eldobott Tárgyak]",wszoveg,"Felvesz","Kilépés");
return 1;
}

15
Segítségkérés / Re:Itt kérdezz warningot/error -t!
« Dátum: 2020. Január 13. - 15:19:02 »

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys == KEY_FIRE)
{
if(pInfo[playerid][Iszik] == true && GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_DRINK_SPRUNK && pInfo[playerid][IszikTimer] == 0) { pInfo[playerid][Iszik] = false; SetPlayerSpecialAction(playerid,SPECIAL_ACTION_NONE); }
if(pInfo[playerid][Iszik] == true) {
pInfo[playerid][IszikTimer]--; Kozerzet(playerid, 2, -3); }
}
if(newkeys == KEY_NO)
{
ShowInventory(playerid);
return 1;
}
if(newkeys == KEY_YES)
{
if(pInfo[playerid][pBelepve] == false) return 1;
if(IsPlayerInRangeOfPoint(playerid, 2.0, -326.1909,1049.2335,19.7422) || IsPlayerInRangeOfPoint(playerid, 2.0, -323.0682,1050.5905,19.7422))
{
format(wszoveg,sizeof(wszoveg),""#COL_LRED"Név\t"#COL_LRED"Indok\n\
%s\t%s\n\
%s\t%s\n\
%s\t%s\n\
%s\t%s\n",Beteg[0],Ok[0],Beteg[1],Ok[1],Beteg[2],Ok[2],Beteg[3],Ok[3]);
ShowPlayerDialog(playerid, 9999, DIALOG_STYLE_TABLIST_HEADERS, ""#COL_LRED"[Kórházi Pácienslista]",
wszoveg, // Etc.
"OK", "");
return 1;
}
if(IsPlayerInShop(playerid)) return ShowBoltDialog(playerid);
if(IsPlayerInCarShop(playerid)) return ShowJarmuVasarlas(playerid);
if(IsPlayerInBank(playerid))
{
if(BszInfo[playerid][Bejelentkezve] == 0)
ShowPlayerDialog(playerid, DIALOG_UJBANK_ELSOPANEL, DIALOG_STYLE_LIST, "{FFF700}[Bankszámla Felület]", ""#COL_FEHER"Új Bankszámlaszám Létrehozása\nMeglévő Bankszámlaszám Használata", "Tovább","Kilépés");
else
ShowBankDialog(playerid);
return 1;
}
if(IsPlayerInRangeOfPoint(playerid, 3.0,1309.4163,1302.4043,10.9708))
{
ShowPlayerDialog(playerid, 9999, DIALOG_STYLE_MSGBOX, ""#COL_FEHER"Buszmegálló", ""#COL_FEHER"Buszjáratok.:\n"#COL_LRED"62E "#COL_FEHER"- Átlagos közlekedési idő - 5 perc - (Las Venturas Reptér - Fort Carson)\n\
"COL_LRED"63 "#COL_FEHER"- Átlagos közlekedési idő - 7 perc - (Las Venturas Reptér - Fort Carson)", "Kilépés","");
return 1;
}
if(IsPlayerInRangeOfPoint(playerid, 3.0,1344.1357,1258.2992,10.8203)) // Kávézó - Reptér
{
PlayerPlaySound(playerid, 1054, 0.0, 0.0, 10.0);
ShowPlayerDialog(playerid, DIALOG_KAVE, DIALOG_STYLE_TABLIST_HEADERS, ""#COL_LRED"[Kávé - Vásárlás]",
""#COL_FEHER"Termék\t"#COL_FEHER"Ár\t"#COL_FEHER"Darabszám\n\
Kávé\t$5\t1 (0.5l)\t-\n", // Etc.
"Vásárlás", "Vissza");
}
HazAjtoKereses(playerid);
PickUpItem(playerid);
IsPlayerAtBiznisz(playerid);
}
return 1;
}

Oldalak: [1] 2 3 ... 10
SimplePortal 2.3.7 © 2008-2024, SimplePortal