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.
Témák - sticky2
16
« Dátum: 2015. Április 17. - 15:43:36 »
Sziasztok! Nem rég kezdtem újra a sciptelgetést, ezért még nem teljesen emlékszem mit-hogyan kell csinálni Szeretnék egy ilyesféle parancsot, csak ez így nem működik. Ha csak azt írom be hogy /munka, akkor kiírja a Használat:-os feliratot, viszont ha hozzáírok akármit, azt írja ki hogy Sikeresen elkezdted a munkát. :/ Meg tudnátok mondani, hogy hol a hiba? Ui.: Én nem látok itt kategória menüpontot :/ CMD:munka(playerid, params[]) { new parancs[128], txt[128]; format(txt, sizeof(txt), \"%s\", parancs); if(sscanf(params, \"s\", parancs)) return SendClientMessage(playerid, 0, \"Használat: /munka [kezd/befejez]\"); if(!strcmp(txt, \"kezd\", true)) { SendClientMessage(playerid, 1, \"Sikeresen elkezdted a munkát.\"); } else if(!strcmp(txt, \"befejez\", true)) { SendClientMessage(playerid, 1, \"Sikeresen befejezted a munkát.\"); } return 1; }
17
« Dátum: 2015. Április 10. - 11:11:33 »
Sziasztok! Próbálom kiszedni a spawn menüt, viszont egy problémába ütköztem. A menü eltűnt, de a bejelentkezés után amikor letelik a 2 MP-es timer és spawnolnia kéne, elkezdek repülni felfele megállás nélkül. Mi lehet a gond?
18
« Dátum: 2013. December 04. - 11:02:05 »
Hali. Miért írja ezeket a hiba üzeneteket? C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\pawno\\include\\fixchars.inc(102) : warning 219: local variable \"x\" shadows a variable at a preceding level C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\pawno\\include\\fixchars.inc(102) : warning 219: local variable \"y\" shadows a variable at a preceding level C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\pawno\\include\\fixchars.inc(109) : warning 219: local variable \"x\" shadows a variable at a preceding level C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\pawno\\include\\fixchars.inc(109) : warning 219: local variable \"y\" shadows a variable at a preceding level C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\pawno\\include\\fixchars.inc(139) : warning 219: local variable \"x\" shadows a variable at a preceding level C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\pawno\\include\\fixchars.inc(139) : warning 219: local variable \"y\" shadows a variable at a preceding level C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\gamemodes\\grandlarc.pwn(792) : warning 219: local variable \"x\" shadows a variable at a preceding level C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\gamemodes\\grandlarc.pwn(792) : warning 219: local variable \"y\" shadows a variable at a preceding level C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\gamemodes\\grandlarc.pwn(792) : warning 219: local variable \"z\" shadows a variable at a preceding level
19
« Dátum: 2013. November 14. - 17:43:03 »
Hali. Azzal a problémával fordultam hozzátok, hogy a TextDraw hibás értéket ír ki az élet lekérdezésekor. Pl.: 115124541-et. public OnPlayerUpdate(playerid) { new str[128], Float:elet; GetPlayerHealth(playerid, elet); format(str, sizeof(str), \"Élet: %d\", elet); eletxt[playerid] = TextDrawCreate(490, 115, str); TextDrawUseBox(eletxt[playerid], 1); TextDrawBoxColor(eletxt[playerid], 0x000000AA); TextDrawShowForPlayer(playerid, Text:eletxt[playerid]); TextDrawHideForPlayer(playerid, Text:eletxt[playerid]); TextDrawShowForPlayer(playerid, Text:eletxt[playerid]); return 1; }
20
« Dátum: 2013. November 01. - 14:55:44 »
Hali. Szeretném emgcsinálni azt, hogy amíg nem írja be a helyes jelszót, addig ne engedje be a skin választóba. Mi ennek a kódja?
21
« Dátum: 2013. November 01. - 11:49:32 »
Hali. Logoláshoz kéne nekem egy név is, a playerid mellé printf-ben. Az lenne a kérdésem, hogy muszály mindig lekérni a nevet, vagy van erre egy kód? Elõre is köszönöm! printf(\"[Csatlakozas]%s(ID:%d) csatlakozott!\", ?, playerid);
22
« Dátum: 2013. Október 31. - 19:02:09 »
Hali. Szeretnék listát betenni az audio.inc -be, mindent úgy csinálok ahogy az le van írva és mégsem jó... Tutorial: http://sampforum.hu/index.php?topic=4968.0 (egyébként az eredeti témában is úgy írja) Error: C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\pawno\\include\\audio.inc(19) : error 010: invalid function or declaration 19. sortól: [szero] 1 = asd.wav 2 = zakala.wav archive = AMBIENCE archive = CUTSCENE
23
« Dátum: 2013. Október 31. - 09:15:06 »
Próbálj meg -1 helyett 0-át írni.
24
« Dátum: 2013. Október 31. - 08:47:43 »
Hali. Miért írkálja ezeket a hibákat, hogy lehetne javítani? ---------- Loaded log file: \"server_log.txt\". ---------- SA-MP Dedicated Server ---------------------- v0.3x-R2, (C)2005-2013 SA-MP Team [08:44:21] [08:44:21] Server Plugins [08:44:21] -------------- [08:44:21] Loading plugin: streamer [08:44:21] *** Streamer Plugin v2.5.2 by Incognito loaded *** [08:44:21] Loaded. [08:44:21] Loading plugin: sscanf [08:44:21] [08:44:21] =============================== [08:44:21] sscanf plugin loaded. [08:44:21] (c) 2009 Alex \"Y_Less\" Cole [08:44:21] 0.3d-R2 500 Players \"dnee\" [08:44:21] =============================== [08:44:21] Loaded. [08:44:21] Loading plugin: crashdetect [08:44:21] crashdetect v4.8.5 is OK. [08:44:21] Loaded. [08:44:21] Loaded 3 plugins. [08:44:21] [08:44:21] Filterscripts [08:44:21] --------------- [08:44:21] Loading filterscript \'gl_actions.amx\'... [08:44:21] Loading filterscript \'gl_realtime.amx\'... [08:44:21] Loading filterscript \'map.amx\'... [08:44:21] Loaded 3 filterscripts. [08:44:21] OnGameo [08:44:21] [debug] Server crashed while executing grandlarc.amx [08:44:21] [debug] AMX backtrace: [08:44:21] [debug] #0 native AddMenuItem () [004730e0] from samp-server.exe [08:44:21] [debug] #1 00000b0c in ?? () from grandlarc.amx [08:44:21] [debug] #2 00008e60 in public Itter_OnGameModeInit () from grandlarc.amx [08:44:21] [debug] #3 native CallLocalFunction () [00471ef0] from samp-server.exe [08:44:21] [debug] #4 000084c8 in public SSCANF_OnGameModeInit () from grandlarc.amx [08:44:21] [debug] #5 native CallLocalFunction () [00471ef0] from samp-server.exe [08:44:21] [debug] #6 00000e1c in public zcmd_OnGameModeInit () from grandlarc.amx [08:44:21] [debug] #7 native CallLocalFunction () [00471ef0] from samp-server.exe [08:44:21] [debug] #8 000001e4 in public OnGameModeInit () from grandlarc.amx [08:44:21] [debug] System backtrace: [08:44:21] [debug] #0 004010b6 in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\samp-server.exe [08:44:21] [debug] #1 67e939e2 in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\plugins\\crashdetect.DLL [08:44:21] [debug] #2 67e95e26 in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\plugins\\crashdetect.DLL [08:44:21] [debug] #3 67e8bf3f in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\plugins\\crashdetect.DLL [08:44:21] [debug] #4 67e93a0e in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\plugins\\crashdetect.DLL [08:44:21] [debug] #5 004721fe in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\samp-server.exe [08:44:21] [debug] #6 004010b6 in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\samp-server.exe [08:44:21] [debug] #7 67e939e2 in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\plugins\\crashdetect.DLL [08:44:21] [debug] #8 67e95e26 in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\plugins\\crashdetect.DLL [08:44:21] [debug] #9 67e8bf3f in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\plugins\\crashdetect.DLL [08:44:21] [debug] #10 67e93a0e in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\plugins\\crashdetect.DLL [08:44:21] [debug] #11 004721fe in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\samp-server.exe [08:44:21] [debug] #12 004010b6 in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\samp-server.exe [08:44:21] [debug] #13 67e939e2 in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\plugins\\crashdetect.DLL [08:44:21] [debug] #14 67e95e26 in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\plugins\\crashdetect.DLL [08:44:21] [debug] #15 67e8bf3f in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\plugins\\crashdetect.DLL [08:44:21] [debug] #16 67e93a0e in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\plugins\\crashdetect.DLL [08:44:21] [debug] #17 004721fe in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\samp-server.exe [08:44:21] [debug] #18 004010b6 in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\samp-server.exe [08:44:21] [debug] #19 67e939e2 in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\plugins\\crashdetect.DLL [08:44:21] [debug] #20 67e95e26 in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\plugins\\crashdetect.DLL [08:44:21] [debug] #21 67e8bf3f in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\plugins\\crashdetect.DLL [08:44:21] [debug] #22 67e93a0e in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\plugins\\crashdetect.DLL [08:44:21] [debug] #23 0046e1f4 in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\samp-server.exe [08:44:21] [debug] #24 65646f6d in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\samp-server.exe [08:44:21] [debug] #25 72672f73 in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\samp-server.exe [08:44:21] [debug] #26 6c646e61 in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\samp-server.exe [08:44:21] [debug] #27 2e637261 in ?? () from C:\\Windows.old\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\samp-server.exe [08:44:21] [debug] #28 00786d61 in ?? ()
25
« Dátum: 2013. Október 12. - 08:25:37 »
Hali. Egy timerbe beraktam már függvényt(stock-ost), amibõl random ki kéne választania egyet a 20-ból. Az a gond, hogy nem egyet választ ki, hanem tovább megy és mindig újra és újra lefut, ettõl belaggol a szeró. Mitõl lehet? Esetleg valahol return -t kell állítani?
26
« Dátum: 2013. Október 11. - 16:25:35 »
Bocsi hogy új témát nyitottam, de az elõzõt nem engedte megnyitni... Még mindig gondom van ezzel a kóddal: format(hpja, sizeof(hpja), \"HP: %d\", elet); new Text3D:zmelet[MAX_PLAYERS] = Create3DTextLabel(hpja, 0xb37e22AA, 30.0, 40.0, 50.0, 40.0, 0, 0); } C:\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\gamemodes\\grandlarc.pwn(634) : error 008: must be a constant expression; assumed zero
27
« Dátum: 2013. Október 11. - 15:47:34 »
Hali. Szerintem jól csináltam, mégis lett warningom meg errorom: new Float:elet; GetPlayerHealth(damagedid, elet, sizeof(elet)); C:\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\gamemodes\\grandlarc.pwn(561) : warning 202: number of arguments does not match definition format(hpja, sizeof(hpja), \"HP: %d\", elet); new Text3D:zmelet[MAX_PLAYERS] = Create3DTextLabel(hpja, 0xb37e22AA, 30.0, 40.0, 50.0, 40.0, 0); C:\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\gamemodes\\grandlarc.pwn(625) : error 008: must be a constant expression; assumed zero
28
« Dátum: 2013. Október 11. - 14:03:16 »
Bocsi Zyzu :S Köszi
29
« Dátum: 2013. Október 11. - 07:22:46 »
Hali. Mindent jól csinálok, és mégis hibát ír ki. CMD:kick(playerid, params[]) { if(GetPVarInt(playerid, \"Szint\") >= 2) { new id[24], reason[128]; new string[128], string2[128], string3[128]; new name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME]; if (sscanf(params, \"us[128]\", id, reason)) SendClientMessage(playerid, Hi**szin, \"Használat: /kick [playerid] [oka]\"); { GetPlayerName(playerid, name, sizeof(name)); GetPlayerName(id, name2, sizeof(name2)); format(string, sizeof(string), \"%s ki lett dobva a szerverrõl %s által! Oka: %s\", name2, name, reason); SendClientMessageToAll(0xeb6b4cAA, string); format(string2, sizeof(string2), \"Kidobtad %s-t, indok: %s\", name2, reason); SendClientMessage(playerid, SikerSzin, string2); format(string3, sizeof(string3), \"%s kidobott a szerverrõl! Indok: %s\", name, reason); SendClientMessage(id, 0xeb6b4cAA, string3); Kick(id); } } else SendClientMessage(playerid, Hi**szin, \"2-es szintû admintól!\"); return 1; } C:\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\gamemodes\\grandlarc.pwn(1165) : error 035: argument type mismatch (argument 1) C:\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\gamemodes\\grandlarc.pwn(1174) : error 035: argument type mismatch (argument 1) GetPlayerName(playerid, name, sizeof(name)); GetPlayerName(id, name2, sizeof(name2)); C:\\Documents and Settings\\Viktor\\Asztal\\Új mappa\\gamemodes\\grandlarc.pwn(1176) : error 035: argument type mismatch (argument 1) Kick(id);
30
« Dátum: 2013. Október 10. - 18:45:39 »
Hali. Létezik olyan kód, amivel négy szám közül ki tudom választani a legnagyobbat és azt pl.: kiírja?
|