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 - Evecer
Oldalak: [1]
1
« Dátum: 2013. március 15. - 22:15:50 »
Sziasztok! A szerveremre szeretnék vehetõ házakat berakni: /buyhouse (ház vétel) /housemenu (itt lehetne kocsit venni a házhoz) /getcar (itt lehetne elhõhívni a kocsi listát az egyes házakhoz) Az egyik szerveren láttam ahol trucking mod van, szóval létezik csak nem találtam még meg. (remélem publikálták) Elõre is köszönöm a segítséget!!
2
« Dátum: 2013. március 15. - 13:06:38 »
ervin
3
« Dátum: 2013. március 15. - 12:48:08 »
Valaki tud egy jó stunt party módot a szerverre, amiben nincs hiba? Elõre is köszönöm!
4
« Dátum: 2013. március 15. - 12:15:28 »
Sikerült megoldani, amúgy host, linux (de az látszik).
5
« Dátum: 2013. március 15. - 10:17:17 »
A szerverem elindítom, berakok mindent ami kell a server.cfg be.. Aztán felmegyek és alap az egész.. A szerver log: ---------- Loaded log file: \"server_log.txt\". ---------- SA-MP Dedicated Server ---------------------- v0.3x, (C)2005-2013 SA-MP Team [10:17:22] [10:17:22] Server Plugins [10:17:22] -------------- [10:17:22] Loading plugin: streamer.so [10:17:22] Failed (plugins/streamer.so: cannot open shared object file: No such file or directory) [10:17:22] Loading plugin: sscanf.so [10:17:22] Failed (plugins/sscanf.so: cannot open shared object file: No such file or directory) [10:17:22] Loaded 0 plugins. [10:17:22] [10:17:22] Filterscripts [10:17:22] --------------- [10:17:22] Loading filterscript \'ladmin.amx\'... [10:17:22] Unable to load filterscript \'ladmin.amx\'. [10:17:22] Loaded 0 filterscripts. [10:17:22] Script[gamemodes/PPC_Trucking.amx]: Run time error 19: \"File or function is not found\" [10:17:22] Number of vehicle models: 0
6
« Dátum: 2013. március 15. - 09:22:51 »
Köszönöm!
7
« Dátum: 2013. március 14. - 22:24:59 »
Ezen a szerveren milyen mód található? Meg szeretném szerezni, valaki meg tudná mondani? Munka annyit tudok. Ipje:- (a válasz után törölhetõ az ip)
8
« Dátum: 2013. március 14. - 19:33:56 »
Köszi a leírást, de már a elején elakadtam! :S Nem tudom hogy mibe kéne konvertálni az elsõ link alatt.. :S Nem konvertálnád át nekem? xd
9
« Dátum: 2013. március 14. - 19:00:26 »
Valaki megmondaná hogy kell a \"CreateDynamicObject\" -eket berakni? CreateDynamicObject(3458, 734.03, 533.83, 1.49, 0.00, 0.00, 0.00); CreateDynamicObject(3458, 733.86, 524.75, 1.49, 0.00, 0.00, 0.00); CreateDynamicObject(3458, 693.71, 533.86, 1.49, 0.00, 0.00, 0.00); CreateDynamicObject(3458, 751.35, 507.29, 1.49, 0.00, 0.00, -90.60); CreateDynamicObject(3458, 689.77, 505.84, 10.15, -0.18, 25.14, 0.00); CreateDynamicObject(3458, 692.85, 444.31, 1.49, 0.00, 0.00, 0.00); CreateDynamicObject(3458, 675.84, 511.68, 1.49, 0.00, 0.00, -90.60); CreateDynamicObject(3458, 733.55, 489.48, 1.49, 0.00, 0.00, 0.00); CreateDynamicObject(3458, 710.98, 507.16, 1.49, 0.00, 0.00, -90.60); CreateDynamicObject(3458, 675.27, 466.81, 1.49, 0.00, 0.00, -90.00); CreateDynamicObject(3458, 710.71, 467.03, 1.49, 0.00, 0.00, -90.60); CreateDynamicObject(3458, 691.86, 466.97, 1.49, 0.00, 0.00, -90.60); CreateDynamicObject(3458, 693.28, 489.51, 1.49, 0.00, 0.00, 0.00); CreateDynamicObject(3458, 733.64, 505.79, 1.49, 0.00, 0.00, 0.00); CreateDynamicObject(3458, 669.39, 488.25, 18.58, 0.00, 0.00, -90.60); CreateDynamicObject(3458, 687.51, 448.37, 18.58, 0.00, 0.00, -90.60); CreateDynamicObject(3458, 668.97, 448.24, 18.58, 0.00, 0.00, -90.60); CreateDynamicObject(3458, 704.18, 448.36, 18.58, 0.00, 0.00, -90.60); CreateDynamicObject(3458, 686.25, 425.64, 18.58, 0.00, 0.00, 0.00); CreateDynamicObject(3458, 686.78, 471.07, 18.58, 0.00, 0.00, 0.00); CreateDynamicObject(3458, 669.77, 528.58, 18.58, 0.00, 0.00, -90.60); CreateDynamicObject(3374, 751.69, 529.34, 1.56, 0.00, 0.00, 0.00); CreateDynamicObject(758, 735.13, 497.38, 1.26, 0.00, 0.00, 0.00); CreateDynamicObject(758, 734.06, 497.38, 1.26, 0.00, 0.00, 0.00); CreateDynamicObject(758, 732.99, 497.44, 1.26, 0.00, 0.00, 0.00); CreateDynamicObject(3511, 733.28, 497.44, 3.22, 0.00, 0.00, 0.00);
10
« Dátum: 2013. március 14. - 14:39:57 »
Köszi a leírást, annyi gondom van hogy nekem nem ilyen CMD\'s izé kéne hanem \"if\" es, vagyis olyan mint az elsõ hozzászólásba raktam kódot abba kellene. Segítenél? Köszi elõre is!
Köszi, jó lett! A 2 bõl összehoztam. UI: Akkor valaki nem tenne a fenti kódba egy jármûlehívó akármit? Nagyon megköszönném!
Szia. Én nem rég írtam egy ilyet a modomba, most ezt megosztom veletek is akkor ha szükségetek van rá Ez pontosabban egy dialogos jármû lekérõ script! Parancs:
CMD:v(playerid,params[]) { ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, \"Válassz kategóriát!\", \"Repülõk\\nKocsik\\nMotorok\", \"Kiválaszt\", \"Mégse\"); return 1; } Dialog:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(response) { switch(dialogid) { case 1: { switch(listitem) { case 0:// 1. { ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, \"Repülõk\", \"Leviathan\\nSeasparrow\\nSkimmer\\nStuntplane\\nSparrow\\nRustler\\nMaverick\\nPoliceMaverick\\nBeagle\\nCropduster\\nShamal\\nCargobob\\nNevada\\nRaindance\\nDodo\", \"Kiválaszt\", \"Mégse\"); } case 1: // 2. { ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, \"Kocsik\", \"Landstalker\\nBravura\\nBuffalo\\nPerenniel\\nSentinel\\nDumper\\nStretch\\nManana\\nInfernus\\nVoodoo\\nPony\\nCheetah\\nEsperanto\\nWashington\\nBobcat\\nPremier\\nBanshee\\nHotknife\\nPrevion\\nStallion\\nRomero\\nPacker\\nAdmiral\\nTurismo\\nSolair\\nGlendale\\nHermes\\nSabre\\nZR-350\\nComet\\nSultan\", \"Kiválaszt\", \"Mégse\"); } case 2: // 3. { ShowPlayerDialog(playerid, 4, DIALOG_STYLE_LIST, \"Motorok\", \"Pizzaboy\\nPCJ-600\\nFaggio\\nFreeway\\nSanchez\\nQuad\\nFCR-900\\nNRG-500\\nHPV-1000\\nBF-400\", \"Kiválaszt\", \"Mégse\"); } } } case 2: { switch(listitem) { case 0: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(417, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 1: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(447, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 2: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(460, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 3: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(513, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 4: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(469, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 5: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(476, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 6: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(487, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 7: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(497, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 8: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(511, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 9: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(512, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 10: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(519, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 11: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(548, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 12: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(553, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 13: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(563, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 14: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(593, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } } } case 3: { switch(listitem) { case 0: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(400, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 1: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(401, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 2: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(402, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 3: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(44, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 4: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(405, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 5: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(406, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 6: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(409, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 7: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(410, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 8: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(411, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 9: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(412, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 10: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(413, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 11: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(415, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 12: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(419, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 13: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(421, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 14: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(422, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 15: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(426, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 16: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(429, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 17: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(434, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 18: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(436, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 19: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(439, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 20: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(442, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 21: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(443, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 22: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(445, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 23: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(451, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 24: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(458, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 25: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(466, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 26: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(474, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 27: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(475, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 28: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(477, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 29: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(422, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 30: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(560, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } } } case 4: { switch(listitem) { case 0: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(448, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 1: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(461, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 2: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(462, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 3: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(463, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 4: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(468, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 5: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(471, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 6: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(521, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 7: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(522, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 8: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(523, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 9: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(581, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } } } } } return 1; } Ha sikerült megcsinálni akkor nincs mit Üdv: Energetic [/quote]
11
« Dátum: 2013. március 13. - 06:34:31 »
Köszi, jó lett! A 2 bõl összehoztam. UI: Akkor valaki nem tenne a fenti kódba egy jármûlehívó akármit? Nagyon megköszönném!
12
« Dátum: 2013. március 12. - 19:34:05 »
Nekem most a szerveren van egy alap mod, azt szerkesztgetem. Segítenétek abban, hogy hogyan tehetek be a játékba kocsikat?
14
« Dátum: 2013. március 12. - 16:19:17 »
Sziasztok! Még nem értek annyira a scripteléshez, ezért szeretném a segítségeteket kérni. Csak egy alap mód kellene nekem + 1-2 dolog bele: - jármû lehívás bármilyen kóddal csak mûködjön - admin kódok - meg pár egyszerû munka - Aki ezt megcsinálná nekem, nagyon hálás lennék! Elõre is köszönöm! Ebben kéne ha kérhetek ilyet: #include <a_samp> new Text:Textdraw0; new Text:Textdraw1; #define SZIN_PIROS 0xfa0d0dAA #define SZIN_FEHER 0xfafafaAA #define SZIN_ZOLD 0x17d123AA #define SZIN_CIAN 0x05fad9A #define SZIN_LILA 0xd905faAA #define SZIN_ROZSASZIN 0xfa05d5AA #define SZIN_KEK 0x0000ffAA #define SZIN_FEKETE 0x000000AA #define SZIN_NARANCS 0xfa8100AA #define SZIN_CITROM 0xfafa00AA #define SZIN_PPFS 0xff6f00AA #if defined FILTERSCRIPT public OnFilterScriptInit() { print(\"\\n================================\"); print(\"Alap Mod\"); print(\"================================\\n\"); return 1; } public OnFilterScriptExit() { return 1; } #else main() { print(\"\\n================================\"); print(\"Alap Mod\"); print(\"================================\\n\"); } #endif public OnGameModeInit() { Textdraw0 = TextDrawCreate(413.000000, 421.000000, \"Szöveg\"); TextDrawBackgroundColor(Textdraw0, 255); TextDrawFont(Textdraw0, 1); TextDrawLetterSize(Textdraw0, 0.629998, 2.699999); TextDrawColor(Textdraw0, 3454143); TextDrawSetOutline(Textdraw0, 0); TextDrawSetProportional(Textdraw0, 1); TextDrawSetShadow(Textdraw0, 1); Textdraw1 = TextDrawCreate(7.000000, 427.000000, \"Szöveg\"); TextDrawBackgroundColor(Textdraw1, 255); TextDrawFont(Textdraw1, 1); TextDrawLetterSize(Textdraw1, 0.509999, 1.800000); TextDrawColor(Textdraw1, 9454143); TextDrawSetOutline(Textdraw1, 0); TextDrawSetProportional(Textdraw1, 1); TextDrawSetShadow(Textdraw1, 1); for(new i; i < MAX_PLAYERS; i ++) { if(IsPlayerConnected(i)) { TextDrawShowForPlayer(i, Textdraw0); TextDrawShowForPlayer(i, Textdraw1); } } SetGameModeText(\"[HUN] Teszt szerver!!\"); AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(1, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(2, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(7, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(8, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(9, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(10, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(11, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(12, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(13, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(14, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(15, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(16, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(17, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(18, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(19, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(20, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(21, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(22, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(23, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(24, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(25, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(26, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(27, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(27, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(29, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(30, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(31, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(32, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(33, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(34, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(35, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(36, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(37, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(38, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(39, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(40, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(41, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(42, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(43, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(44, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(45, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(46, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(47, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(48, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(49, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(50, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(51, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(52, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(53, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(54, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(55, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(56, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(57, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(58, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(59, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(60, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(61, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(62, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(63, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(64, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(65, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(66, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(67, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(68, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(69, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(70, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(71, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(72, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(73, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(74, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(75, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(76, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(299, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(105, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); return 1; } public OnGameModeExit() { TextDrawHideForAll(Textdraw0); TextDrawDestroy(Textdraw0); TextDrawHideForAll(Textdraw1); TextDrawDestroy(Textdraw1); return 1; } public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, 1954.5426,1342.9369,15.3746); SetPlayerCameraPos(playerid, 1959.6799,1343.1836,15.3746); SetPlayerCameraLookAt(playerid, 1951.7332,1342.8486,15.3746); return 1; } public OnPlayerConnect(playerid) { SendClientMessage(playerid, 0xfafa00AA, \"Üdv a Szerverren!\"); SendClientMessage(playerid, 0xfafa00AA, \"A szerver folyamatos karbantartás alatt! Kellemes játékot!\"); SendClientMessage(playerid, 0xfafa00AA, \"Hamarosan weboldalunk: WWW.HEADSHOT.HU\"); return 1; } public OnPlayerDisconnect(playerid, reason) { return 1; } public OnPlayerSpawn(playerid) { TextDrawShowForPlayer(playerid, Textdraw0); TextDrawShowForPlayer(playerid, Textdraw1); return 1; } public OnPlayerDeath(playerid, killerid, reason) { new playercash; if(killerid == INVALID_PLAYER_ID) { SendDeathMessage(INVALID_PLAYER_ID,playerid,reason); ResetPlayerMoney(playerid); } else { SendDeathMessage(killerid,playerid,reason); SetPlayerScore(killerid,GetPlayerScore(killerid)+1); playercash = GetPlayerMoney(playerid); if (playercash > 0) { GivePlayerMoney(killerid, playercash); ResetPlayerMoney(playerid); } else { } } return 1; } public OnVehicleSpawn(vehicleid) { return 1; } public OnVehicleDeath(vehicleid, killerid) { return 1; } public OnPlayerText(playerid, text[]) { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { //help================================================= if (strcmp(cmdtext, \"/help\", true)==0) { ShowPlayerDialog(playerid, 10000, DIALOG_STYLE_MSGBOX, \"Parancsaink:\", \"Hamarosan...\", \"OKE\", \"Kilepes\"); // PlayerPlaySound(playerid, 1133, 0.0, 0.0, 10.0); return 1; } //Info================================================= if (strcmp(cmdtext, \"/info\", true)==0) { ShowPlayerDialog(playerid, 10410, DIALOG_STYLE_MSGBOX, \"Informácíó:\", \"A szervert az slhosting.eu szolgáltatja!\", \"RENDBEN\", \"Kilepes\"); return 1; } //Parancsok============================================ if(strcmp(cmdtext, \"/ejtoernyo\", true) == 0) { GivePlayerWeapon(playerid, 46, 1); SendClientMessage(playerid, 0x00BFFFFF, \"Ejtõernyõ Lekérve\"); return 1; } if (strcmp(cmdtext, \"/fel\", true)==0) { new VehicleID, Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID, X, Y, Z); SetVehicleZAngle(VehicleID, 0); SendClientMessage(playerid, 0x00BFFFFF, \"Jármû felálítva\"); return 1; } if (strcmp(cmdtext, \"/elet\", true)==0) { SetPlayerHealth(playerid,100); SendClientMessage(playerid, 0x00BFFFFF, \"Életed feltöltve!\"); return 1; } if(strcmp(\"/halal\", cmdtext, true, 10) == 0) { SetPlayerHealth(playerid, 000.0); return 1; } if (strcmp(\"/inf\", cmdtext, true, 10) == 0) if (strcmp(\"/inf\", cmdtext, true, 10) == 0) { new vehicleid; new Float:X,Float:Y,Float:Z,Float:Angle; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle); GetPlayerVehicleID(playerid); vehicleid = CreateVehicle(411,X,Y,Z,Angle,-1,-1,600); vehicleid = PutPlayerInVehicle(playerid, vehicleid, 0); return 1; } //Teleportok============================================================ if(strcmp(cmdtext, \"/stunt\", true) == 0) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,402.9187,2534.1477,16.5455); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,402.9187,2534.1477,16.5455); //GivePlayerWeapon(playerid, 46, 200); } return 1; } if(strcmp(cmdtext, \"/race\", true) == 0) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,-2944.8975,436.2000,2.9612); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,-2944.8975,436.2000,2.9612); } return 1; } if(strcmp(cmdtext, \"/jizzy\", true) == 0) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,-2597.4902,1388.0292,7.1798); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,-2597.4902,1388.0292,7.1798); } return 1; } if(strcmp(cmdtext, \"/ls\", true) == 0) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,2782.5522,-2020.2609,13.5620); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,2782.5522,-2020.2609,13.5620); } return 1; } if(strcmp(cmdtext, \"/lv\", true) == 0) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,2320.2126,1390.6610,42.8853); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,2320.2126,1390.6610,42.8853); } return 1; } if(strcmp(cmdtext, \"/sf\", true) == 0) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,-1918.1754,292.3517,41.0469); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,-1918.1754,292.3517,41.0469); } return 1; } return SendClientMessage(playerid,0x74E80099,\"Ez a parancs nem létezik!\"); } public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { return 1; } public OnPlayerExitVehicle(playerid, vehicleid) { return 1; } public OnPlayerStateChange(playerid, newstate, oldstate) { return 1; } public OnPlayerEnterCheckpoint(playerid) { return 1; } public OnPlayerLeaveCheckpoint(playerid) { return 1; } public OnPlayerEnterRaceCheckpoint(playerid) { return 1; } public OnPlayerLeaveRaceCheckpoint(playerid) { return 1; } public OnRconCommand(cmd[]) { return 1; } public OnPlayerRequestSpawn(playerid) { return 1; } public OnObjectMoved(objectid) { return 1; } public OnPlayerObjectMoved(playerid, objectid) { return 1; } public OnPlayerPickUpPickup(playerid, pickupid) { return 1; } public OnVehicleMod(playerid, vehicleid, componentid) { return 1; } public OnVehiclePaintjob(playerid, vehicleid, paintjobid) { return 1; } public OnVehicleRespray(playerid, vehicleid, color1, color2) { return 1; } public OnPlayerSelectedMenuRow(playerid, row) { return 1; } public OnPlayerExitedMenu(playerid) { return 1; } public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid) { return 1; } public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { return 1; } public OnRconLoginAttempt(ip[], password[], success) { return 1; } public OnPlayerUpdate(playerid) { return 1; } public OnPlayerStreamIn(playerid, forplayerid) { return 1; } public OnPlayerStreamOut(playerid, forplayerid) { return 1; } public OnVehicleStreamIn(vehicleid, forplayerid) { return 1; } public OnVehicleStreamOut(vehicleid, forplayerid) { return 1; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { return 1; } public OnPlayerClickPlayer(playerid, clickedplayerid, source) { return 1; }
Oldalak: [1]
|