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 - Yakuza™
Oldalak: 1 ... 6 7 [8] 9 10
106
« Dátum: 2012. Március 11. - 21:17:44 »
Jó estét! Ez alapján ( http://sa-mp.gportal.hu/gindex.php?pg=32569262) csináltam egy NPC-t ami áll. Fel is csatlakozik de nem jelen meg és 10 mp után le csatlakozik :S nem tom miért valaki segítsen
107
« Dátum: 2012. Március 11. - 18:32:24 »
Beraktam a GarHouse-t és megcsinálltam,hogy ki is lehessen jönni a házból de íigy ugye mindenhonnan eltünt a sárga nyíl! és azt szeretném kérdezni,hogy kell a lv fegyverbolthoz rakni olyat?
108
« Dátum: 2012. Március 11. - 17:25:36 »
Mikor be írom,hogy /bilincs 0 teszt Azt irja ki,hogy: [RENDÕR,Yakuza] Megbilincselte teszt-t [indok:] Szóval indokot nem ír és amit indonak irtam azt irja annak,hogy kit bilincseltem. CMD:bilincs(playerid, params[]) { if(IsPlayerLuxAdmin(playerid)) { new giveplayerid, string[128], name[MAX_PLAYER_NAME], indok[128]; if (sscanf(params, \"us\", giveplayerid, indok)) SendClientMessage(playerid, 0xFF0000FF, \"Használat: /bilincs <playerid> <indok>\"); else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xFF0000FF, \"Hiba: Nincs ilyen játékos!\"); else{ GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof string, \"{00bbff}[RENDÕR,%s]:{008a20} Megbilincselte %s-t! {ff0000}[[indok:%s]]\", name, indok); SendClientMessageToAll(0xB3D5B2AA,string); TogglePlayerControllable(giveplayerid,0); } } return 1; }
109
« Dátum: 2012. Március 11. - 14:48:05 »
Hali kéne egy /bilincs /elenged és egy /lecsuk /kienged parancs Úgy,hogy mindenki lássa és,hogy színezzni tudjam ezzel: {ff0000} {00bbff}[RENDÕR,%s]:{008a20} Megbilincselte %s-t! {00bbff}[RENDÕR,%s]:{008a20} Börtönbe zárta %s [Perc: %d] [indok: valami] köszönöm.
110
« Dátum: 2012. Március 11. - 11:07:41 »
Nem jelenik meg valamiért az ATM objecte :S Script: #include <a_samp> #include <streamer> #include <zcmd> #define COLOR_GREEN 0x33FF33AA #define COLOR_RED 0xFF0000AA #define COLOR_BLUE 0x33CCFFAA #define COLOR_ORANGE 0xFF9900AA public OnGameModeInit() { CreateDynamicObject(2942, 2023.3864,997.9861,10.8203,89.5213,0,0,0,0,0,0); CreateDynamicObject(2942, 2085.6697,2080.3186,11.0579,89.4811,0,0,0,0,0,0); CreateDynamicObject(2942, 2236.6499,2396.3484,10.8203,263.8403,0,0,0,0,0,0); CreateDynamicObject(2942, 2134.4465,2380.2153,10.8203,355.9611,0,0,0,0,0,0); return 1; } CMD:rabol(playerid, params[]) { if(GetPVarInt(playerid,\"rabol\")==1) { SendClientMessage(playerid,COLOR_RED,\"Most raboltál! 5 perc múlva újra rabolhatsz\"); } if(GetPVarInt(playerid,\"rabol\")==0) { if(IsPlayerInRangeOfPoint(playerid,1.0,2023.3864,997.9861,10.8203) || IsPlayerInRangeOfPoint(playerid,1.0, 2085.6697,2080.3186,11.0579) || IsPlayerInRangeOfPoint(playerid,1.0, 2236.6499,2396.3484,10.8203) || IsPlayerInRangeOfPoint(playerid,1.0, 2134.4465,2380.2153,10.8203))//Értelemszerûen tudod bõvíteni! { SendClientMessage(playerid,COLOR_RED,\"Beleütöttél egyet az ATM-be, és kiesett a sok pénz! Gyorsan szedd fel a lóvét!!\"); TogglePlayerControllable(playerid,0); SetPlayerWantedLevel(playerid,4); SetPVarInt(playerid,\"rabol\",1); SendClientMessageToAll(COLOR_RED,\"[RIASZTÁS]: Kirabolták az ATM-et!\"); SetTimerEx(\"rabolas\",15000,0,\"i\",playerid); } else { SendClientMessage(playerid,COLOR_GREEN,\"Nemvagy ATM közelébe! Mennyé közelebb! :\'S\"); } } return 1; } forward rabolas(playerid); public rabolas(playerid) { new rcash =(random(50000-10000)+10000); TogglePlayerControllable(playerid,1); GivePlayerMoney(playerid, rcash); SendClientMessage(playerid,COLOR_ORANGE,\"Kész vagy! Gyorsan fuss el, miellõtt ideérnek a zsaruk!\"); SetTimerEx(\"rabolasido\",300000,0,\"i\",playerid); } forward rabolasido(playerid); public rabolasido(playerid) { SendClientMessage(playerid,COLOR_GREEN,\"Letelt az idõd! Mostmár rabolhatsz újra\"); SetPVarInt(playerid,\"rabol\",0); SetPlayerWantedLevel(playerid,0); return 1; }
111
« Dátum: 2012. Március 10. - 22:03:22 »
Van a módom elején egy ilyen: Az OnPlayerConnect után SendClientMessage(playerid, \"{ff0000}================{ffffff}================{00ff00}================\", 0); SendClientMessage(playerid, \"{ffffff}Üdvözöllek a {0000ff}[R]{ffff00}endõr {0000ff}[A]{ffff00}cademy {ffffff}szerveren.\", 0); SendClientMessage(playerid, \"{ff0000}================{ffffff}================{00ff00}================\", 0); és ezt hibának irja: E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\Academy.pwn(137) : error 035: argument type mismatch (argument 2) E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\Academy.pwn(138) : error 035: argument type mismatch (argument 2) E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\Academy.pwn(139) : error 035: argument type mismatch (argument 2) Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 3 Errors.
miért?
112
« Dátum: 2012. Március 10. - 21:26:27 »
Hy. Ki próbáltam valamit a módba nem volt jó vissza csináltam és most valamiért ezeket a hibákat adja: E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(138) : error 004: function \"SendPlayerFormattedText\" is not implemented E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(139) : error 004: function \"SendPlayerFormattedText\" is not implemented E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(140) : error 004: function \"SendPlayerFormattedText\" is not implemented E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(197) : error 029: invalid expression, assumed zero E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(197) : error 004: function \"OnPlayerSpawn\" is not implemented E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(202) : error 029: invalid expression, assumed zero E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(202) : error 004: function \"OnPlayerEnterVehicle\" is not implemented E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(204) : error 017: undefined symbol \"vehicleid\" E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(207) : error 017: undefined symbol \"IsPlayerLuxAdmin\" E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(215) : warning 225: unreachable code E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(215) : error 029: invalid expression, assumed zero E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(215) : error 017: undefined symbol \"IsPlayerLuxAdmin\" E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(229) : warning 225: unreachable code E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(229) : error 029: invalid expression, assumed zero E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(229) : error 004: function \"SetPlayerRandomSpawn\" is not implemented E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(244) : warning 225: unreachable code E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(244) : error 029: invalid expression, assumed zero E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(244) : error 004: function \"vmi\" is not implemented E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(250) : warning 225: unreachable code E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(250) : error 029: invalid expression, assumed zero E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(250) : error 004: function \"OnDialogResponse\" is not implemented E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(254) : error 017: undefined symbol \"dialogid\" E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(256) : error 017: undefined symbol \"response\" E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(258) : error 017: undefined symbol \"listitem\" E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(264) : error 017: undefined symbol \"listitem\" E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(270) : error 017: undefined symbol \"listitem\" E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(276) : error 017: undefined symbol \"listitem\" E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(289) : warning 225: unreachable code E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(289) : error 029: invalid expression, assumed zero E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(289) : error 004: function \"OnPlayerDeath\" is not implemented E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(291) : error 017: undefined symbol \"IsPlayerLuxAdmin\" Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 26 Errors.
113
« Dátum: 2012. Március 10. - 20:48:58 »
Csináltam egy dialogos autó vevõt: #include <a_samp> #define autovevo_feher 0xFFFFFFAA new autovevo; public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == autovevo) { ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, \"Autó vevõ\", \"{ff0000}Infernus - 20000$\\n{00ffff}Sultan - 20000$\\n{ff8c00}Elegy - 20000$\\n{ffffff}NRG-500 - 1000$\",\"Megvesz\", \"Kilépés\"); } } public OnDialogResponse ( playerid, dialogid, response, listitem, inputtext [ ] ) { { if(response) { if(listitem == 1) { GivePlayerMoney(playerid, -20000); CreateVehicle(playerid,411,2396.2690,1034.5262,10.8203,268.8507, 0); SendClientMessage(playerid, autovevo_feher, \"Sikeresen megvetted az infernust! 20000$ -ba került!\"); } if(listitem == 2) { GivePlayerMoney(playerid, -20000); CreateVehicle(playerid,560,2396.2690,1034.5262,10.8203,268.8507, 0); SendClientMessage(playerid, autovevo_feher, \"Sikeresen megvetted a sultant! 20000$ -ba került!\"); } if(listitem == 3) { GivePlayerMoney(playerid, -20000); CreateVehicle(playerid,562,2396.2690,1034.5262,10.8203,268.8507, 0); SendClientMessage(playerid, autovevo_feher, \"Sikeresen megvetted az elegyet! 20000$ -ba került!\"); } if(listitem == 4) { SetPlayerArmour(playerid, 100); { GivePlayerMoney(playerid, -1000); CreateVehicle(playerid,522,2396.2690,1034.5262,10.8203,268.8507, 0); SendClientMessage(playerid, autovevo_feher, \"Sikeresen megvetted az NRG-500-at! 1000$ -ba került!\"); } } }else{ SendClientMessage(playerid, 0x400000FF, \"Kiléptél az autó vevõbõl.\"); } } return 1; }
és ez a hiba de le compilézza: E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\Buy.pwn(21) : warning 213: tag mismatch E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\Buy.pwn(21) : warning 202: number of arguments does not match definition E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\Buy.pwn(27) : warning 213: tag mismatch E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\Buy.pwn(27) : warning 202: number of arguments does not match definition E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\Buy.pwn(33) : warning 213: tag mismatch E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\Buy.pwn(33) : warning 202: number of arguments does not match definition E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\Buy.pwn(39) : warning 217: loose indentation E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\Buy.pwn(41) : warning 213: tag mismatch E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\Buy.pwn(41) : warning 202: number of arguments does not match definition E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\Buy.pwn(45) : warning 217: loose indentation E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\Buy.pwn(49) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 11 Warnings.
114
« Dátum: 2012. Március 10. - 19:18:29 »
Kéne egy olyan autó vevõ,ahol van egy infó pickup egy I betû és ha oda megyek dialogban bejön pár kocsi: Infernus,Elegy,Sultan,Buffalo,NRG-500 Mindegyik autó legyen 50000$ A pickup helyét majd én megadom. Köszönöm.
115
« Dátum: 2012. Március 10. - 18:16:47 »
Helló vannak rendõr parancsaim és mikor compilézom ez a hiba: E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\PC.pwn(10) : error 029: invalid expression, assumed zero E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\PC.pwn(10) : error 017: undefined symbol \"cmd_rcmds\" E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\PC.pwn(10) : error 029: invalid expression, assumed zero E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\PC.pwn(10) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors.
A script elején: #include <a_samp> #include zcmd #include <sscanf>
116
« Dátum: 2012. Március 10. - 18:07:09 »
Hali kéne egy /fúj script mi annyit tesz ha egy játékos be van rúgva akkor azt irjaki,hogy Yakuza belefújt a szondába! Eredménye: Ittas ha nem ittas akkor meg Yakuza belefújt a szondába! Eredménye: Tiszta és ehez kéne egy /sör szkript,hogy ittas is tudjon lenni. Köszönöm
117
« Dátum: 2012. Március 09. - 19:04:15 »
Kéne egy ATM Rablás script ugy,hogy ha oda megy a játékos az atm-hez ki iirja,hogy ki szeretnéd rabolni? igen vagy nem és ha az igen re megy riassza a rendõrséget/adminokat LuxAdmin és ha kirabolta kap 25000$ -t! Köszönöm. Hogy hol legyenek az atm objectek majd én berakom a kordinátát,csak a script kell és legalább 4 ATM
118
« Dátum: 2012. Március 09. - 13:37:25 »
Hali! Kéne nekem egy olyan kapu ami parancsra nyitódik LuxAdmin tudja használni és 5mp után autómatikusan bezárul. köszzi
119
« Dátum: 2012. Március 08. - 17:01:53 »
A módomba van egy ilyen: public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { if(vehicleid == 523 ||427 || 490 || 497 || 425 || 520 || 528 ||596 || 598 || 597 || 599 || 432 || 601) { if(!IsPlayerLuxAdmin(playerid)) { GameTextForPlayer(playerid,\"~r~Csak rend§r sz˜lhat be!\", 3000, 1); ClearAnimations(playerid); } } return 1; } stock IsPlayerLuxAdmin(playerid) { new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); new file[256], tmp, tmp2; format(file,256,\"/LuxAdmin/Accounts/%s.sav\",udb_encode(name)); tmp = dini_Int(file,\"Level\"); tmp2 = dini_Int(file,\"Loggedin\"); if( (IsPlayerConnected(playerid)) && (tmp > 0) && (tmp2 == 1) ) return true; else return false; } Nos ez jó mert nem szálhat be a rendõr kocsiba az aki nem admin. de a civil kocsikba se szálhatnak be valamiért :S
120
« Dátum: 2012. Március 08. - 15:15:48 »
Csá all kéne egy olyan munka script amiben van Tûzoltó,Mentõ,Autószerelõ,Taxis,Úttisztitó és minden 5 percben kap 5000$ -t! és egy kis szöveget,hogy Megkaptad a munka pénzed! A taxisnak lenne egy parancsa,hogy Munkába lép és ezt ki irja mindenkinek,hogy pl. Yakuza taxi szolgálatba lépett. Hívhatod a /hiv parancsal. Az Úttisztitónak checkpoint kéne de ez nem muszály csak annyi h a checkpointot h kell csinálni és akkor én megcsinálom. elõre thx. Az autószerelõ-nek legyen egy parancsa,hogy /javit és megjavitja a kocsit. meg kéne egy telefon script, ami dialog listás és abban azok vannak,hogy: Rendõr,Mentõ,Tûzoltó,Autószerelõ,Taxis és ha valaki felhivja annak aki amelyik munkát elvállalta ki irja,hogy pl. Valaki taxit hívott. Valaki rendõrt hívott. meg az illetõnek is,hogy pl. Taxit hívtál! Maradj a helyeden és várj míg megérkezik a taxi! és ezt ugyan ugy a többinél is... NAGYON MEG KÖSZÖNNÉM! + RESPECT/TISZELET + A szerón ki lesz rakva a név aki megcsinálja.
Oldalak: 1 ... 6 7 [8] 9 10
|