new SpawnZonaban[MAX_PLAYERS], Float:KintElet[MAX_PLAYERS];public OnPlayerUpdate(playerid) {new Float:x, Float:y, Float:z;GetPlayerPos(playerid,x,y,z);if(1282.9401 <= y <= 1442.9170 || 1941.3424 <= x <= 2031.9501) { //Ha a spawn zónán belül van if(SpawnZonaban[playerid] == 0) { //... de a változója 0, akkor most lépett be. SendClientMessage(playerid,0x00FF00FF,\"Beléptél a Spawn területre!\"); SendClientMessage(playerid,0x00FFB8FF,\"Mostmár örök életed van!\"); //Kiírjuk neki és GetPlayerHealth(playerid, KintElet[playerid]); //Lekérjük az életét. } SetPlayerHealth(playerid,98713); //Akár most lépett be, akár nem, a zómán belül van, szóval a hpja max legyen. SpawnZonaban[playerid] = 1; //Ezt átállítjzk, hogy a fenti részt ne floodolhassa be.}else if(SpawnZonaban[playerid] == 1) { //Ha nincs a spawn zónában (else = a fenti ifre vonatkozó \"egyébként\"), de a változó szerint bent van.. még, azaz most lépett be.SendClientMessage(playerid,0x0000FFFF,\"Kiléptél a Spawn területrõl!\");SendClientMessage(playerid,0x0000FFFF,\"Mostmár nincs örök életed!\"); //Elküldjük az üzeneteket..SetPlayerHealth(playerid,KintElet[playerid]); //Az életét beállítjuk valamintSpawnZonaban[playerid] = 0; //A változót is, hogy ne fusson le többször.}return 1;}
D:\\Letöltések\\Untitled.pwn(34) : error 052: multi-dimensional arrays must be fully initializedPawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
D:\\Szerverem\\pawno\\include\\fixchars.inc(142) : warning 213: tag mismatchD:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1520) : warning 213: tag mismatchD:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(6570) : error 017: undefined symbol \"KEY_YES\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(6601) : error 017: undefined symbol \"KEY_NO\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(7807) : error 017: undefined symbol \"FixGameString\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(7808) : error 017: undefined symbol \"FixGameString\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(7812) : error 017: undefined symbol \"FixGameString\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(7959) : warning 235: public function lacks forward declaration (symbol \"OnPlayerTakeDamage\")Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 5 Errors.
D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1215) : error 017: undefined symbol \"SetObjectMaterialText\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1218) : error 017: undefined symbol \"SetObjectMaterialText\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1217) : warning 204: symbol is assigned a value that is never used: \"bank\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1214) : warning 204: symbol is assigned a value that is never used: \"varoshaza\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1361) : error 017: undefined symbol \"RemoveBuildingForPlayer\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1362) : error 017: undefined symbol \"RemoveBuildingForPlayer\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1363) : error 017: undefined symbol \"RemoveBuildingForPlayer\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1364) : error 017: undefined symbol \"RemoveBuildingForPlayer\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1365) : error 017: undefined symbol \"RemoveBuildingForPlayer\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1366) : error 017: undefined symbol \"RemoveBuildingForPlayer\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1367) : error 017: undefined symbol \"RemoveBuildingForPlayer\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1368) : error 017: undefined symbol \"RemoveBuildingForPlayer\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1369) : error 017: undefined symbol \"RemoveBuildingForPlayer\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1370) : error 017: undefined symbol \"RemoveBuildingForPlayer\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1371) : error 017: undefined symbol \"RemoveBuildingForPlayer\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1372) : error 017: undefined symbol \"RemoveBuildingForPlayer\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1373) : error 017: undefined symbol \"RemoveBuildingForPlayer\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1374) : error 017: undefined symbol \"RemoveBuildingForPlayer\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1375) : error 017: undefined symbol \"RemoveBuildingForPlayer\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1376) : error 017: undefined symbol \"RemoveBuildingForPlayer\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1377) : error 017: undefined symbol \"RemoveBuildingForPlayer\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1378) : error 017: undefined symbol \"RemoveBuildingForPlayer\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1379) : error 017: undefined symbol \"RemoveBuildingForPlayer\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1380) : error 017: undefined symbol \"RemoveBuildingForPlayer\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1381) : error 017: undefined symbol \"RemoveBuildingForPlayer\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1382) : error 017: undefined symbol \"RemoveBuildingForPlayer\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1383) : error 017: undefined symbol \"RemoveBuildingForPlayer\"D:\\Letöltés\\Defensive(1)\\Defensive\\gamemodes\\Defensive.pwn(1384) : error 017: undefined symbol \"RemoveBuildingForPlayer\"Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 26 Errors.
Az a_samp.inc-ed régi.Még nem \"ismeri\" a RemoveBuildingForPlayer kifejezést.Töltsd le ezt: http://www.solidfiles.com/d/b27106b8bb/a_samp.incTedd be a pawno\\include mappába és úgy konvertáld amx-re.
warning 219: local variable \"object\" shadows a variable at a preceding levelerror 035: argument type mismatch (argument 4)warning 219: local variable \"object\" shadows a variable at a preceding levelerror 025: function heading differs from prototypeerror 021: symbol already defined: \"GetXYInFrontOfPlayer\"warning 209: function \"GetXYInFrontOfPlayer\" should return a valueerror 021: symbol already defined: \"strtok\"
pawno\\include\\YSI\\y_users.inc(152) : fatal error 111: user error: Default hash removed: See YSI topic for details.
Sziasztok! Valaki tudna segíteni nekem ezeket az hibákat kijavítani ? Elõre is köszönöm! warning 219: local variable \"object\" shadows a variable at a preceding levelerror 035: argument type mismatch (argument 4)warning 219: local variable \"object\" shadows a variable at a preceding levelerror 025: function heading differs from prototypeerror 021: symbol already defined: \"GetXYInFrontOfPlayer\"warning 209: function \"GetXYInFrontOfPlayer\" should return a valueerror 021: symbol already defined: \"strtok\"
new str[128];format(str, sizeof(str), \"SELECT * FROM Users WHERE Name = \'%s\'\", acc);mysql_query(str); //Ide mutat a hiba
new str[128];format(str, sizeof(str), \"SELECT * FROM Users WHERE Name = \'%s\'\", acc);mysql_query(1, str, true); //Így kellett volna írnom
[20:03:56] [debug] Run time error 19: \"File or function is not found\"[20:03:56] [debug] mysql_query[20:03:56] [debug] mysql_store_result[20:03:56] [debug] mysql_num_rows[20:03:56] [debug] mysql_free_result[20:03:56] [debug] mysql_debug[20:03:56] [debug] mysql_fetch_row_format[20:03:56] [debug] mysql_connect[20:03:56] [debug] mysql_ping[20:03:56] [debug] Run time error 19: \"File or function is not found\"[20:03:56] [debug] mysql_query[20:03:56] [debug] mysql_store_result[20:03:56] [debug] mysql_num_rows[20:03:56] [debug] mysql_free_result[20:03:56] [debug] mysql_debug[20:03:56] [debug] mysql_fetch_row_format[20:03:56] [debug] mysql_connect[20:03:56] [debug] mysql_ping[20:03:56] Script[gamemodes/mod.amx]: Run time error 19: \"File or function is not found\"
Run time error 19: \"File or function is not found\"Segitsetek pls
Sziasztok! [20:03:56] [debug] Run time error 19: \"File or function is not found\"[20:03:56] [debug] mysql_query[20:03:56] [debug] mysql_store_result[20:03:56] [debug] mysql_num_rows[20:03:56] [debug] mysql_free_result[20:03:56] [debug] mysql_debug[20:03:56] [debug] mysql_fetch_row_format[20:03:56] [debug] mysql_connect[20:03:56] [debug] mysql_ping[20:03:56] [debug] Run time error 19: \"File or function is not found\"[20:03:56] [debug] mysql_query[20:03:56] [debug] mysql_store_result[20:03:56] [debug] mysql_num_rows[20:03:56] [debug] mysql_free_result[20:03:56] [debug] mysql_debug[20:03:56] [debug] mysql_fetch_row_format[20:03:56] [debug] mysql_connect[20:03:56] [debug] mysql_ping[20:03:56] Script[gamemodes/mod.amx]: Run time error 19: \"File or function is not found\" Ez miért van? Egyik hostnál ment,itt pedig ezt írja ki. A Mysql pluginom nem a legújabb,mert nem szeretnék a cachekkel foglalkozni.Ha minden igaz,akkor a hostnak kell még felraknia valamit a mysql szolgáltatásához.libmysqlclient.so.15: cannot open shared object file: No such file or directory [/quote]Valószínûleg a hostnál lesz gond.Keresd fel az ügyfélszolgálatukat és másold be nekik ezt és beállítják neked.