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 - Vajzs
1
« Dátum: 2014. október 19. - 18:14:37 »
Nincs küldetés, a Szent Márk Bistro jönne de ha elmegyek a Caligulába nincs ott a piros kör
2
« Dátum: 2013. július 24. - 14:13:18 »
Helló! 1 olyan szkriptet szeretnék kérni, ami annyit tesz, hogy ha beírom hogy /deer akkor a hátamra rakjon 1 szarvast, és hogy ne legyen annyira nagy. Én ezt a szarvas ID-t találtam: 19315. Köszönöm ha segítetek
3
« Dátum: 2013. július 21. - 22:09:44 »
Helló! Csináltam egy GameMode-ot! FIGYELEM: NEM MINDEN AZ ENYÉM BELÕLE! Pl.: A Kocsi Spawner. + a DM Zónák leírás alapján készült Parancsok: 60 Pár Fontos Parancs: /rules /tele /shop /weapons /cmds /help Teleportok: 13 DM Zónák: 2 Sorok: 800Na nem pofázom tovább.. // FIGYELEM! A GAMEMODE NEM TELJESEN AZ ENYÉM! // AZ AUTÓ SPAWNERT NEM ÉN CSINÁLTAM! // + A DM ZÓNÁKAT TUTORIAL ALAPJÁN KÉSZÍTETTEM #include a_samp #include zcmd #define DIALOG_V2 820 #pragma tabsize 0 static dmid[MAX_PLAYERS]={ -1, ... }; new VehicleNames[][] = { \"Landstalker\",\"Bravura\",\"Buffalo\",\"Linerunner\",\"Perrenial\",\"Sentinel\",\"Dumper\",\"Firetruck\",\"Trashmaster\",\"Stretch\",\"Manana\",\"Infernus\",\"Voodoo\",\"Pony\",\"Mule\",\"Cheetah\",\"Ambulance\",\"Leviathan\",\"Moonbeam\", \"Esperanto\",\"Taxi\",\"Washington\",\"Bobcat\",\"Whoopee\",\"BF Injection\",\"Hunter\",\"Premier\",\"Enforcer\",\"Securicar\",\"Banshee\",\"Predator\",\"Bus\",\"Rhino\",\"Barracks\",\"Hotknife\",\"Trailer\",\"Previon\",\"Coach\", \"Cabbie\",\"Stallion\",\"Rumpo\",\"RC Bandit\",\"Romero\",\"Packer\",\"Monster\",\"Admiral\",\"Squalo\",\"Seasparrow\",\"Pizzaboy\",\"Tram\",\"Trailer\",\"Turismo\",\"Speeder\",\"Reefer\",\"Tropic\",\"Flatbed\",\"Yankee\",\"Caddy\",\"Solair\", \"Berkley\'s RC Van\",\"Skimmer\",\"PCJ-600\",\"Faggio\",\"Freeway\",\"RC Baron\",\"RC Raider\",\"Glendale\",\"Oceanic\",\"Sanchez\",\"Sparrow\",\"Patriot\",\"Quad\",\"Coastguard\",\"Dinghy\",\"Hermes\",\"Sabre\",\"Rustler\",\"ZR-350\",\"Walton\", \"Regina\",\"Comet\",\"BMX\",\"Burrito\",\"Camper\",\"Marquis\",\"Baggage\",\"Dozer\",\"Maverick\",\"News Chopper\",\"Rancher\",\"FBI Rancher\",\"Virgo\",\"Greenwood\",\"Jetmax\",\"Hotring\",\"Sandking\",\"Blista Compact\",\"Police Maverick\", \"Boxvillde\",\"Benson\",\"Mesa\",\"RC Goblin\",\"Hotring Racer A\",\"Hotring Racer B\",\"Bloodring Banger\",\"Rancher\",\"Super GT\",\"Elegant\",\"Journey\",\"Bike\",\"Mountain Bike\",\"Beagle\",\"Cropduster\",\"Stunt\",\"Tanker\",\"Roadtrain\", \"Nebula\",\"Majestic\",\"Buccaneer\",\"Shamal\",\"Hydra\",\"FCR-900\",\"NRG-500\",\"HPV1000\",\"Cement Truck\",\"Tow Truck\",\"Fortune\",\"Cadrona\",\"FBI Truck\",\"Willard\",\"Forklift\",\"Tractor\",\"Combine\",\"Feltzer\",\"Remington\",\"Slamvan\", \"Blade\",\"Freight\",\"Streak\",\"Vortex\",\"Vincent\",\"Bullet\",\"Clover\",\"Sadler\",\"Firetruck\",\"Hustler\",\"Intruder\",\"Primo\",\"Cargobob\",\"Tampa\",\"Sunrise\",\"Merit\",\"Utility\",\"Nevada\",\"Yosemite\",\"Windsor\",\"Monster\",\"Monster\", \"Uranus\",\"Jester\",\"Sultan\",\"Stratum\",\"Elegy\",\"Raindance\",\"RC Tiger\",\"Flash\",\"Tahoma\",\"Savanna\",\"Bandito\",\"Freight Flat\",\"Streak Carriage\",\"Kart\",\"Mower\",\"Dune\",\"Sweeper\",\"Broadway\",\"Tornado\",\"AT-400\",\"DFT-30\", \"Huntley\",\"Stafford\",\"BF-400\",\"News Van\",\"Tug\",\"Trailer\",\"Emperor\",\"Wayfarer\",\"Euros\",\"Hotdog\",\"Club\",\"Freight Box\",\"Trailer\",\"Andromada\",\"Dodo\",\"RC Cam\",\"Launch\",\"Police Car\",\"Police Car\",\"Police Car\", \"Police Ranger\",\"Picador\",\"S.W.A.T\",\"Alpha\",\"Phoenix\",\"Glendale\",\"Sadler\",\"Luggage\",\"Luggage\",\"Stairs\",\"Boxville\",\"Tiller\",\"Utility Trailer\" }; main() { print(\"\\n----------------------------------\"); print(\" Blank Gamemode by your name here\"); print(\"----------------------------------\\n\"); } public OnGameModeInit() { UsePlayerPedAnims(); SetWorldTime(0); AddStaticVehicle(562,-265.0970,1543.0262,75.0190,134.6034,57,26); // car AddStaticVehicle(562,-267.7867,1545.3424,75.0188,133.8656,11,94); // car AddStaticVehicle(562,-270.3813,1547.6554,75.0186,135.4666,62,4); // car AddStaticVehicle(562,-272.5993,1550.6116,75.0188,134.9769,56,7); // car AddStaticVehicle(562,-275.2839,1552.8479,75.0174,134.5454,102,82); // car AddStaticVehicle(526,-277.8885,1555.1721,75.1260,135.2211,98,118); // car AddStaticVehicle(522,-297.6153,1539.8566,75.1361,178.1795,38,75); // car AddStaticVehicle(593,-1363.1563,-492.8884,14.6339,209.5228,57,88); // car AddStaticVehicle(562,-2391.1721,-601.8468,132.3073,123.6887,2,104); // car AddStaticVehicle(562,-2392.5923,-599.1510,132.3073,124.5950,56,28); // car AddStaticVehicle(562,-2394.6309,-596.9869,132.3072,126.6986,122,8); // car AddStaticVehicle(562,-2396.3694,-594.5794,132.3071,124.0636,43,6); // AddPlayerClass(23, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(244, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(240, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(233, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(217, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(184, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(120, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(118, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(115, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(93, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(86, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(266, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); SetGameModeText(\"DM GameMode\"); AddPlayerClass(29, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); return 1; } public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) { SetPlayerFacingAngle(playerid, 136.2879); SetPlayerPos(playerid, -1634.4585,1413.2759,7.1875); SetPlayerCameraPos(playerid, -1638.3774,1409.1633,7.1875); SetPlayerCameraLookAt(playerid, -1631.2609,1416.3281,7.1875); return 1; } public OnPlayerConnect(playerid) { dmid[playerid] = -1; SendDeathMessage(INVALID_PLAYER_ID, playerid, 200); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{007bff}%s {ff8400}Csatlakozott a {3cff00}szerverhez!\", pName); SendClientMessageToAll(0xFF9933AA,string); SendClientMessage(playerid, 0x33AA33AA, \"{007bff}Üdv!\"); SendClientMessage(playerid, 0x33AA33AA, \"{007bff}Parancsok: {3cff00}/cmds /rules /help\"); SendClientMessage(playerid, 0x33AA33AA, \"{007bff}Jó szórakozást kíván az Admin Csapat!\"); return 1; } public OnPlayerDisconnect(playerid, reason) { SendDeathMessage(INVALID_PLAYER_ID, playerid, 201); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{007bff}%s {ff8400}Lelépett a {3cff00}szerverrõl!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } public OnPlayerSpawn(playerid) { switch(dmid[playerid]) { case 0: { SetPlayerPos(playerid,-494.7707,-99.8357,62.3184); SetPlayerFacingAngle(playerid,90.0); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,26,30000); SetPlayerHealth(playerid, 100); SetPlayerVirtualWorld(playerid,dmid[playerid]); } case 1: { SetPlayerPos(playerid,-2316.5911,-1631.7333,483.7003); SetPlayerFacingAngle(playerid,180.0); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,31,10000); SetPlayerHealth(playerid, 100); SetPlayerVirtualWorld(playerid,dmid[playerid]); } default: { GivePlayerWeapon(playerid, 25, 1000); GivePlayerMoney(playerid, 10000); SetPlayerPos(playerid, -1634.4585,1413.2759,7.1875); SendClientMessage(playerid, 0x33AA33AA, \"{007bff}SPAWN: {ff8400}Sikeres Spawn\"); SetPlayerVirtualWorld(playerid,0); } } return 1; } public OnPlayerDeath(playerid, killerid, reason) { ResetPlayerMoney(playerid); GivePlayerMoney(killerid, 1000); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{007bff}%s {ff8400}meghalt!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:cmds(playerid,params[]) { SendClientMessage(playerid, 0x33AA33AA, \"{007bff}.:.:.:.:.:.:.:Parancsok:.:.:.:.:.:.:.\"); SendClientMessage(playerid, 0x33AA33AA, \"{007bff}Autók > /v | Teleport > /tele | Várárlás > /shop\"); SendClientMessage(playerid, 0x33AA33AA, \"{007bff}Fegyverek > /weapons | Fegyócsomag > /wpack\"); SendClientMessage(playerid, 0x33AA33AA, \"{007bff}Öngyilkosság > /kill | Anim > /anims | Kilépés /q\"); return 1; } CMD:rules(playerid,params[]) { SendClientMessage(playerid, 0x33AA33AA, \"{ff8400}.:.:.:.:.:.:.:SZABÁLYOK:.:.:.:.:.:.:.\"); SendClientMessage(playerid, 0x33AA33AA, \"{ff8400}Tilos > Hackelni | Flood/spam! \"); SendClientMessage(playerid, 0x33AA33AA, \"{ff8400}Tiszteld > Adminokat | Játékosokat!\"); SendClientMessage(playerid, 0x33AA33AA, \"{ff8400}LEGFONTOSABB > Érezd jól magad \"); return 1; } CMD:help(playerid,params[]) { SendClientMessage(playerid, 0x33AA33AA, \"{3cff00}.:.:.:.:.:.:.:SEGÍTSÉG:.:.:.:.:.:.:.\"); SendClientMessage(playerid, 0x33AA33AA, \"{3cff00}Üdv a szerveren! Ez egy DM/Drift Szerver!\"); SendClientMessage(playerid, 0x33AA33AA, \"{3cff00}Ha valamit nem tudsz szólj az adminoknak!\"); SendClientMessage(playerid, 0x33AA33AA, \"{3cff00}Szabályokat betartani kötelezõ, vagy súlyos\"); SendClientMessage(playerid, 0x33AA33AA, \"{3cff00}következményei lehetnek... \"); SendClientMessage(playerid, 0x33AA33AA, \"{3cff00}Szabályok /rules | Parancsok /cmds\"); return 1; } CMD:tele(playerid, params[]) { SendClientMessage(playerid, 0xeaff00AA, \".:.:.:.:.:.:.:Teleportok:.:.:.:.:.:.:.\"); SendClientMessage(playerid, 0xeaff00AA, \"Driftek > /drift1 | /drift2\"); SendClientMessage(playerid, 0xeaff00AA, \"Városok/stb. > /ls | /sf | /lv | /lva | /lsa\"); SendClientMessage(playerid, 0xeaff00AA, \"Városok/stb. > /sfa | /chilliad | /aa | /beach\"); SendClientMessage(playerid, 0xeaff00AA, \"DMek: /m4dm | /sawnoffdm\"); return 1; } CMD:drift1(playerid, params[]) { SetPlayerPos(playerid,-303.2766,1517.8917,75.3594); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{007bff}%s {ff8400}Teleportált {3cff00}Drift1-hez! {eaff00}(/drift1)\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:drift2(playerid, params[]) { SetPlayerPos(playerid,-2383.4077,-580.9707,132.1172); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{007bff}%s {ff8400}Teleportált {3cff00}Drift 2-hoz! {eaff00}(/drift2)\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:ls(playerid, params[]) { SetPlayerPos(playerid,2492.4216,-1668.2061,13.3438); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{007bff}%s {ff8400}Teleportált {3cff00}Los Santosba! {eaff00}(/ls)\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:lv(playerid, params[]) { SetPlayerPos(playerid,1961.9720,1342.9240,15.3746); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{007bff}%s {ff8400}Teleportált {3cff00}Las Venturasba! {eaff00}(/lv)\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:sf(playerid, params[]) { SetPlayerPos(playerid,-1691.2794,1352.8740,9.8047); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{007bff}%s {ff8400}Teleportált {3cff00}San Fierroba! {eaff00}(/sf)\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:sfa(playerid, params[]) { SetPlayerPos(playerid,-1374.3774,-498.0653,14.1719); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{007bff}%s {ff8400}Teleportált {3cff00}SF Airra! {eaff00}(/sfa)\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:lsa(playerid, params[]) { SetPlayerPos(playerid,1894.2810,-2306.8687,13.6124); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{007bff}%s {ff8400}Teleportált {3cff00}LS Airra! {eaff00}(/lsa)\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:lva(playerid, params[]) { SetPlayerPos(playerid,1332.5125,1280.2792,10.8203); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{007bff}%s {ff8400}Teleportált {3cff00}LV Airra! {eaff00}(/lva)\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:aa(playerid, params[]) { SetPlayerPos(playerid,442.2502,2495.2861,17.9038); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{007bff}%s {ff8400}Teleportált {3cff00}Elhagyatott Reptérre! {eaff00}(/aa)\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:beach(playerid, params[]) { SetPlayerPos(playerid,510.3821,-1885.9598,2.9285); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{007bff}%s {ff8400}Teleportált {3cff00}Tenger Partra! {eaff00}(/beach)\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:chilliad(playerid, params[]) { SetPlayerPos(playerid,-2316.5911,-1631.7333,483.7003); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{007bff}%s {ff8400}Teleportált {3cff00}a hegyekbe! {eaff00}(/chilliad)\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:weapons(playerid, params[]) { SendClientMessage(playerid, 0x9900ffAA, \".:.:.:.:.:.:.:.:.:Fegyverek:.:.:.:.:.:.:.:.:.\"); SendClientMessage(playerid, 0x9900ffAA, \"Ingyenes fegyverek > /9mm | /eagle | /baseball \"); SendClientMessage(playerid, 0x9900ffAA, \"Olcsó > /sawnoff | /m4 | /ak47 | /tec9 | /mp5\"); SendClientMessage(playerid, 0x9900ffAA, \"DRÁGA > /minigun | /rpg | /grenade | /flamethrower\"); return 1; } CMD:9mm(playerid, params[]) { GivePlayerWeapon(playerid, 22, 1000); SendClientMessage(playerid, 0x00a2ffAA, \"Ingyenes 9mm a tiéd! \"); return 1; } CMD:eagle(playerid, params[]) { GivePlayerWeapon(playerid, 24, 1000); SendClientMessage(playerid, 0x00a2ffAA, \"Ingyenes DesertEagle a tiéd! \"); return 1; } CMD:baseball(playerid, params[]) { GivePlayerWeapon(playerid, 5, 1000); SendClientMessage(playerid, 0x00a2ffAA, \"Ingyenes {ff0000}BÉZBÓZÜTÕ {00a3ff}a tiéd! \"); return 1; } CMD:sawnoff(playerid, params[]) { if(GetPlayerMoney(playerid) < 300) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 300$-od !\"); } GivePlayerMoney(playerid, -300); GivePlayerWeapon(playerid, 26, 1000); SendClientMessage(playerid, 0x00a2ffAA, \"Sawn-Off Shotgun a tied! Ára: 300$\"); return 1; } CMD:m4(playerid, params[]) { if(GetPlayerMoney(playerid) < 350) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 350$-od !\"); } GivePlayerMoney(playerid, -350); GivePlayerWeapon(playerid, 31, 1000); SendClientMessage(playerid, 0x00a2ffAA, \"M4-es Gépkarabély a tied! Ára: 350$\"); return 1; } CMD:ak47(playerid, params[]) { if(GetPlayerMoney(playerid) < 350) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 350$-od !\"); } GivePlayerMoney(playerid, -350); GivePlayerWeapon(playerid, 30, 1000); SendClientMessage(playerid, 0x00a2ffAA, \"AK47-es Gépkarabély a tied! Ára: 350$\"); return 1; } CMD:tec9(playerid, params[]) { if(GetPlayerMoney(playerid) < 150) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 150$-od !\"); } GivePlayerMoney(playerid, -150); GivePlayerWeapon(playerid, 32, 1000); SendClientMessage(playerid, 0x00a2ffAA, \"Tec9 a tied! Ára: 150$\"); return 1; } CMD:mp5(playerid, params[]) { if(GetPlayerMoney(playerid) < 250) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 250$-od !\"); } GivePlayerMoney(playerid, -250); GivePlayerWeapon(playerid, 29, 1000); SendClientMessage(playerid, 0x00a2ffAA, \"MP5 a tied! Ára: 250$\"); return 1; } CMD:minigun(playerid, params[]) { if(GetPlayerMoney(playerid) < 120000) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 120000$-od !\"); } GivePlayerMoney(playerid, -120000); GivePlayerWeapon(playerid, 38, 500); SendClientMessage(playerid, 0x00a2ffAA, \"Minigun a tied! Ára: 120000$\"); return 1; } CMD:rpg(playerid, params[]) { if(GetPlayerMoney(playerid) < 100000) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 100000$-od !\"); } GivePlayerMoney(playerid, -100000); GivePlayerWeapon(playerid, 35, 10); SendClientMessage(playerid, 0x00a2ffAA, \"RPG a tied! Ára: 100000$\"); return 1; } CMD:grenade(playerid, params[]) { if(GetPlayerMoney(playerid) < 1000) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 1000$-od !\"); } GivePlayerMoney(playerid, -1000); GivePlayerWeapon(playerid, 16, 10); SendClientMessage(playerid, 0x00a2ffAA, \"Gránát a tied! Ára: 1000$\"); return 1; } CMD:flamethrower(playerid, params[]) { if(GetPlayerMoney(playerid) < 10000) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 10000$-od !\"); } GivePlayerMoney(playerid, -10000); GivePlayerWeapon(playerid, 37, 1000); SendClientMessage(playerid, 0x00a2ffAA, \"RPG a tied! Ára: 10000$\"); return 1; } CMD:wpack(playerid, params[]) { if(GetPlayerMoney(playerid) < 1000) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 1000$-od !\"); } GivePlayerMoney(playerid, -1000); GivePlayerWeapon(playerid, 18, 1000); GivePlayerWeapon(playerid, 34, 1000); SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 50); SendClientMessage(playerid, 0x00a2ffAA, \"Fegyvercsomag megvéve!\"); return 1; } CMD:shop(playerid, params[]) { SendClientMessage(playerid, 0x9900ffAA, \".:.:.:.:.:.:.:.:.:Bolt:.:.:.:.:.:.:.:.:.\"); SendClientMessage(playerid, 0x9900ffAA, \"Kaják > /hamburger | /hotdog | /gyros | /chips\"); SendClientMessage(playerid, 0x9900ffAA, \"Italok > /cola | /fanta | /sprite | /icetea\"); return 1; } CMD:chips(playerid, params[]) { if(GetPlayerMoney(playerid) < 10) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 10$-od !\"); } GivePlayerMoney(playerid,-10); new Float:hp; GetPlayerHealth(playerid,hp); hp += 10; SetPlayerHealth(playerid,hp); SendClientMessage(playerid,0xFF6600FF,\"Ettél egy chipset.\"); PlayerPlaySound(playerid,1085,0,0,0); ApplyAnimation(playerid, \"FOOD\", \"EAT_Burger\", 3.0, 0, 0, 0, 0, 0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}evett egy {ABCDEF}chipset!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:hamburger(playerid, params[]) { if(GetPlayerMoney(playerid) < 50) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 50$-od !\"); } GivePlayerMoney(playerid,-50); new Float:hp; GetPlayerHealth(playerid,hp); hp += 15; SetPlayerHealth(playerid,hp); SendClientMessage(playerid,0xFF6600FF,\"Ettél egy hamburgert.\"); PlayerPlaySound(playerid,1085,0,0,0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); ApplyAnimation(playerid, \"FOOD\", \"EAT_Burger\", 3.0, 0, 0, 0, 0, 0); format(string, 256, \"{FF9933}%s {FF0606}evett egy {ABCDEF}hamburgert!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:hotdog(playerid, params[]) { if(GetPlayerMoney(playerid) < 50) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 50$-od !\"); } GivePlayerMoney(playerid,-50); new Float:hp; GetPlayerHealth(playerid,hp); hp += 15; SetPlayerHealth(playerid,hp); ApplyAnimation(playerid, \"FOOD\", \"EAT_Burger\", 3.0, 0, 0, 0, 0, 0); SendClientMessage(playerid,0xFF6600FF,\"Ettél egy hotdogot.\"); PlayerPlaySound(playerid,1085,0,0,0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}evett egy {ABCDEF}hotdogot!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:gyros(playerid, params[]) { if(GetPlayerMoney(playerid) < 50) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 50$-od !\"); } GivePlayerMoney(playerid,-50); new Float:hp; GetPlayerHealth(playerid,hp); hp += 15; SetPlayerHealth(playerid,hp); ApplyAnimation(playerid, \"FOOD\", \"EAT_Burger\", 3.0, 0, 0, 0, 0, 0); SendClientMessage(playerid,0xFF6600FF,\"Ettél egy gyros-t.\"); PlayerPlaySound(playerid,1085,0,0,0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}evett egy {ABCDEF}gyrost!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:cola(playerid, params[]) { if(GetPlayerMoney(playerid) < 50) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 50$-od !\"); } GivePlayerMoney(playerid,-50); new Float:hp; GetPlayerHealth(playerid,hp); hp += 2; SetPlayerHealth(playerid,hp); ApplyAnimation(playerid, \"FOOD\", \"EAT_Burger\", 3.0, 0, 0, 0, 0, 0); SendClientMessage(playerid,0xFF6600FF,\"Ittál egy Colát.\"); PlayerPlaySound(playerid,1085,0,0,0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}ivott egy {ABCDEF}colát!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:sprite(playerid, params[]) { if(GetPlayerMoney(playerid) < 50) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 50$-od !\"); } GivePlayerMoney(playerid,-50); new Float:hp; GetPlayerHealth(playerid,hp); hp += 2; SetPlayerHealth(playerid,hp); ApplyAnimation(playerid, \"FOOD\", \"EAT_Burger\", 3.0, 0, 0, 0, 0, 0); SendClientMessage(playerid,0xFF6600FF,\"Ittál egy Spritét.\"); PlayerPlaySound(playerid,1085,0,0,0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}ivott egy {ABCDEF}Spritét!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:fanta(playerid, params[]) { if(GetPlayerMoney(playerid) < 50) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 50$-od !\"); } GivePlayerMoney(playerid,-50); new Float:hp; GetPlayerHealth(playerid,hp); hp += 2; SetPlayerHealth(playerid,hp); ApplyAnimation(playerid, \"FOOD\", \"EAT_Burger\", 3.0, 0, 0, 0, 0, 0); SendClientMessage(playerid,0xFF6600FF,\"Ittál egy Fantát.\"); PlayerPlaySound(playerid,1085,0,0,0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}ivott egy {ABCDEF}Fantát!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:icetea(playerid, params[]) { if(GetPlayerMoney(playerid) < 50) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 50$-od !\"); } GivePlayerMoney(playerid,-50); new Float:hp; GetPlayerHealth(playerid,hp); hp += 2; SetPlayerHealth(playerid,hp); ApplyAnimation(playerid, \"FOOD\", \"EAT_Burger\", 3.0, 0, 0, 0, 0, 0); SendClientMessage(playerid,0xFF6600FF,\"Ittál egy Ice Tea.\"); PlayerPlaySound(playerid,1085,0,0,0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}ivott egy {ABCDEF}Ice Tea-t!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:flip(playerid, params[]) { if (!IsPlayerInAnyVehicle(playerid)) return SendClientMessage( playerid, 0x33AA33AA, \"Nem jármûben ülsz!\" ); new VehicleID, Float:X, Float:Y, Float:Z, Float:Angle; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); GetVehicleZAngle(VehicleID, Angle); SetVehiclePos(VehicleID, X, Y, Z); SetVehicleZAngle(VehicleID, Angle); SendClientMessage(playerid, 0x9900FFAA,\"Autó Felfordítva\"); return 1; } CMD:kill(playerid, params[]) { SetPlayerHealth(playerid, 0); return 1; } CMD:afk(playerid, params[]) { new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}AFK Módban {ABCDEF}van!\", pName); SendClientMessageToAll(0xFF9933AA,string); TogglePlayerControllable(playerid, 0); SetPlayerHealth(playerid, 9999); SendClientMessage(playerid, 0x9900FFAA, \"AFK Módban vagy! Kikapcsolás {FF9933}( /afkoff ) \"); return 1; } CMD:afkoff(playerid, params[]) { new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}már nincs {ABCDEF}AFK Módban!\", pName); SendClientMessageToAll(0xFF9933AA,string); TogglePlayerControllable(playerid, 1); SetPlayerHealth(playerid, 100); SendClientMessage(playerid, 0x9900FFAA, \"Kikapcsoltad az AFK módot!\"); return 1; } CMD:colors(playerid, params[]) { SendClientMessage(playerid, 0x33AA33AA, \".:.:.:.:VÁLTHATÓ NÉVSZÍNEK:.:.:.:.\"); SendClientMessage(playerid, 0x33AA33AA, \"Fekete > {000000}/black\"); SendClientMessage(playerid, 0x33AA33AA, \"Fehér > {FFFFFF}/white\"); SendClientMessage(playerid, 0x33AA33AA, \"Kék > {00FFFF}/blue\"); SendClientMessage(playerid, 0x33AA33AA, \"Piros > {FF0606}/red\"); SendClientMessage(playerid, 0x33AA33AA, \"Zöld > {33AA33}/green\"); SendClientMessage(playerid, 0x33AA33AA, \"Rózsaszín > {ff00b7}/pink\"); SendClientMessage(playerid, 0x33AA33AA, \"Lila > {9900ff}/purple\"); return 1; } CMD:black(playerid, params[]) { SendClientMessage(playerid, 0xFFFFFFAA, \"Színed: {000000}fekete!\"); SetPlayerColor(playerid,0x000000AA); return 1; } CMD:white(playerid, params[]) { SendClientMessage(playerid, 0xFFFFFFAA, \"Színed: fehér!\"); SetPlayerColor(playerid,0xFFFFFFAA); return 1; } CMD:blue(playerid, params[]) { SendClientMessage(playerid, 0xFFFFFFAA, \"Színed: {00FFFF}kék!\"); SetPlayerColor(playerid,0x00FFFFAA); return 1; } CMD:red(playerid, params[]) { SendClientMessage(playerid, 0xFFFFFFAA, \"Színed: {FF0606}piros!\"); SetPlayerColor(playerid,0xFF0606FF); return 1; } CMD:green(playerid, params[]) { SendClientMessage(playerid, 0xFFFFFFAA, \"Színed: {33AA33}zöld!\"); SetPlayerColor(playerid,0x33AA33AA); return 1; } CMD:pink(playerid, params[]) { SendClientMessage(playerid, 0xFFFFFFAA, \"Színed: {ff00b7}rózsaszín!\"); SetPlayerColor(playerid,0xff00b7AA); return 1; } CMD:purple(playerid, params[]) { SendClientMessage(playerid, 0xFFFFFFAA, \"Színed: {9900ff}lila!\"); SetPlayerColor(playerid,0x9900ffAA); return 1; } CMD:v(playerid) return ShowPlayerDialog(playerid, DIALOG_V2, DIALOG_STYLE_LIST, \"Jármû; Csoportok\", \"Repcsik\\nHelikopter\\nBicikli\\nConvertibles\\nIndustrial\\nLowriders\\nOff Road\\nPublic Service Jármûvek\\nSaloons\\nSport Jármûvek\\nStation Wagons\\nHajók\\nUtánfutó\\nUnique Jármûvek\\nRC\", \"Tovább\", \"Mégse\"); stock GetVehicleModelIDFromName(vname[]) { for(new i = 0; i < 211; i++) if(strfind(VehicleNames, vname, false) != -1) return i + 400; return -1; } CMD:anims(playerid, params[]) { SendClientMessage(playerid, 0x9900ffAA, \":.:.:.:.:.:Animáció:.:.:.:.:.:\"); SendClientMessage(playerid, 0x9900ffAA, \"/eat | /kiss | /fu \"); SendClientMessage(playerid, 0x9900ffAA, \"/walk | /handsup \"); SendClientMessage(playerid, 0x9900ffAA, \".:.:.:.:.:Hamarosan!:.:.:.:.:.\"); return 1; } CMD:eat(playerid, params[]) { ApplyAnimation(playerid,\"PED\",\"EAT_Burger\",4.1,1,1,1,1,1,1); return 1; } CMD:kiss(playerid, params[]) { ApplyAnimation(playerid,\"PED\",\"Grlfrd_Kiss_01\",4.1,1,1,1,1,1,1); return 1; } CMD:fu(playerid, params[]) { ApplyAnimation(playerid,\"PED\",\"fucku\",4.1,1,1,1,1,1,1); return 1; } CMD:handsup(playerid, params[]) { ApplyAnimation(playerid,\"PED\",\"handsup\",4.1,1,1,1,1,1,1); return 1; } CMD:walk(playerid, params[]) { ApplyAnimation(playerid,\"PED\",\"WALK_fat\",4.1,1,1,1,1,1,1); return 1; } CMD:exitdm(playerid, params[]) { if(dmid[playerid] == -1) return SendClientMessage(playerid,0xFF0606AA, \"Nem vagy DM Zónában!\"); dmid[playerid] = -1; SpawnPlayer(playerid); return SendClientMessage(playerid,0x33AA33AA,\"Kiléptél egy DM Zónából!\"); } CMD:sawnoffdm(playerid, params[]) { new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}Csatlakozott a {33AA33}SAWNOFF DM-hez!\", pName); SendClientMessageToAll(0xFF9933AA,string); dmid[playerid] = 0; SpawnPlayer(playerid); SendClientMessage(playerid,0x33AA33AA,\"Csatlakoztál a SawnOff DM-hez!\"); return 1; } CMD:m4dm(playerid, params[]) { new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}Csatlakozott a {33AA33}M4 DM-hez!\", pName); SendClientMessageToAll(0xFF9933AA,string); dmid[playerid] = 1; SpawnPlayer(playerid); SendClientMessage(playerid,0x33AA33AA,\"Csatlakoztál az M4DM-hez!\"); return 1; } public OnPlayerCommandPerformed ( playerid, cmdtext [ ], success) { if ( !success ) { return SendClientMessage(playerid, 0xff0000AA, \"Ilyen parancs nem létezik! {33AA33}(/cmds)\"); } return 1; } public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { SendClientMessage(playerid, 0x33AA33AA, \"{007bff}Jármû javítás: {ff8400}2-es Gomb! {007bff}Felállítás: {ff8400}/flip\"); return 1; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { switch(dialogid) { case DIALOG_V2: { if(!response) return 1; new title[128]; format(title, sizeof(title), \"{ff8400}%s\", inputtext); switch(listitem) { case 0: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"Andromada\\nAT-400\\nBeagle\\nCropduster\\nDodo\\nHydra\\nNevada\\nRustler\\nShamal\\nSkimmer\\nStuntplane\", \"Lerak\", \"Vissza\"); case 1: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"Cargobob\\nHunter\\nLeviathan\\nMaverick\\nNews Maverick\\nPolice Maverick\\nRaindance\\nSeasparrow\\nSparrow\", \"Lerak\", \"Vissza\"); case 2: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"BF-400\\nBike\\nBMX\\nFaggio\\nFCR-900\\nFreeway\\nMountain Bike\\nNRG-500\\nPCJ-600\\nPizzaboy\\nQuad\\nSanchez\\nWayfarer\", \"Lerak\", \"Vissza\"); case 3: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"Comet\\nFeltzer\\nStallion\\nWindsor\", \"Lerak\", \"Vissza\"); case 4: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"Benson\\nBobcat\\nBurrito\\nBoxville\\nBoxburg\\nCement Truck\\nDFT-30\\nFlatbed\\nLinerunner\\nMule\\nNewsvan\\nPacker\\nPetrol Tanker\\nPony\\nRoadtrain\\nRumpo\\nSadler\\nSadler Shit\\nTopfun\\nTractor\\nTrashmaster\\nUtility Van\\nWalton\\nYankee\\nYosemite\", \"Lerak\", \"Vissza\"); case 5: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"Blade\\nBroadway\\nRemington\\nSavanna\\nSlamvan\\nTahoma\\nTornado\\nVoodoo\", \"Lerak\", \"Vissza\"); case 6: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"Bandito\\nBF Injection\\nDune\\nHuntley\\nLandstalker\\nMesa\\nMonster\\nMonster A\\nMonster B\\nPatriot\\nRancher A\\nRancher B\\nSandking\", \"Lerak\", \"Vissza\"); case 7: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"Ambulance\\nBarracks\\nBus\\nCabbie\\nCoach\\nCop Bike (HPV-1000)\\nEnforcer\\nFBI Rancher\\nFBI Truck\\nFiretruck\\nFiretruck LA\\nPolice Car (LSPD)\\nPolice Car (LVPD)\\nPolice Car (SFPD)\\nRanger\\nRhino\\nS.W.A.T\\nTaxi\", \"Lerak\", \"Vissza\"); case 8: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"Admiral\\nBloodring Banger\\nBravura\\nBuccaneer\\nCadrona\\nClover\\nElegant\\nElegy\\nEmperor\\nEsperanto\\nFortune\\nGlendale Shit\\nGlendale\\nGreenwood\\nHermes\\nIntruder\\nMajestic\\nManana\\nMerit\\nNebula\\nOceanic\\nPicador\\nPremier\\nPrevion\\nPrimo\\nSentinel\\nStafford\\nSultan\\nSunrise\\nTampa\\nVincent\\nVirgo\\nWillard\\nWashington\", \"Lerak\", \"Vissza\"); case 9: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"Alpha\\nBanshee\\nBlista Compact\\nBuffalo\\nBullet\\nCheetah\\nClub\\nEuros\\nFlash\\nHotring Racer\\nHotring Racer A\\nHotring Racer B\\nInfernus\\nJester\\nPhoenix\\nSabre\\nSuper GT\\nTurismo\\nUranus\\nZR-350\", \"Lerak\", \"Vissza\"); case 10: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"Moonbeam\\nPerenniel\\nRegina\\nSolair\\nStratum\", \"Lerak\", \"Vissza\"); case 11: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"Coastguard\\nDinghy\\nJetmax\\nLaunch\\nMarquis\\nPredator\\nReefer\\nSpeeder\\nSquallo\\nTropic\", \"Lerak\", \"Vissza\"); case 12: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"Article Trailer\\nArticle Trailer 2\\nArticle Trailer 3\\nBaggage Trailer A\\nBaggage Trailer B\\nFarm Trailer\\nFreight Flat Trailer (Train)\\nFreight Box Trailer (Train)\\nPetrol Trailer\\nStreak Trailer (Train)\\nStairs Trailer\\nUtility Trailer\", \"Lerak\", \"Vissza\"); case 13: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"Baggage\\nBrownstreak (Train)\\nCaddy\\nCamper\\nCamper A\\nCombine Harvester\\nDozer\\nDumper\\nForklift\\nFreight (Train)\\nHotknife\\nHustler\\nHotdog\\nKart\\nMower\\nMr Whoopee\\nRomero\\nSecuricar\\nStretch\\nSweeper\\nTram\\nTowtruck\\nTug\\nVortex\", \"Lerak\", \"Vissza\"); case 14: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"RC Bandit\\nRC Baron\\nRC Raider\\nRC Goblin\\nRC Tiger\\nRC Cam\", \"Lerak\", \"Vissza\"); } } case DIALOG_V2+1..DIALOG_V2+15: { if(!response) return cmd_v(playerid); CarSpawner(playerid, GetVehicleModelIDFromName(inputtext)); new sor[128]; format(sor, 128, \"{3cff00}Sikeresen lekértél egy {00FF00}%s{DCDCDC}(Modell: %i){007bff}-t!\", inputtext, GetVehicleModelIDFromName(inputtext)); SendClientMessage(playerid, -1, sor); } } return 1; } public OnPlayerClickPlayer(playerid, clickedplayerid, source) { new Float:x, Float:y, Float:z; GetPlayerPos(clickedplayerid,x,y,z); SetPlayerPos(playerid,x,y,z); return 1; } stock CarSpawner(playerid, model) { //By: Pedró new Float:p[4]; GetPlayerPos(playerid, p[0], p[1], p[2]); GetPlayerFacingAngle(playerid, p[3]); if(GetPVarInt(playerid, \"myCar\") != INVALID_VEHICLE_ID) { if(IsPlayerInAnyVehicle(playerid) && GetPlayerVehicleID(playerid) == GetPVarInt(playerid, \"myCar\")) RemovePlayerFromVehicle(playerid); DestroyVehicle(GetPVarInt(playerid, \"myCar\")); } SetPVarInt(playerid, \"myCar\", CreateVehicle(model, p[0], p[1], p[2], p[3], random(126), random(126), -1)); PutPlayerInVehicle(playerid, GetPVarInt(playerid, \"myCar\"), 0); SetVehicleVirtualWorld(GetPVarInt(playerid, \"myCar\"), GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(GetPVarInt(playerid, \"myCar\"), GetPlayerInterior(playerid)); return 1; } public OnPlayerUpdate(playerid) { SetPlayerScore(playerid, GetPlayerMoney(playerid)); return 1; } public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(newkeys & KEY_SUBMISSION) { if(IsPlayerInAnyVehicle(playerid)) { RepairVehicle(GetPlayerVehicleID(playerid)); SendClientMessage(playerid, 0x33AA33AA, \"A jármûved megjavítva!\"); } } return 1; }
4
« Dátum: 2013. július 21. - 13:46:42 »
Helló! Ma amikor felakarok menni egy szerverre játszani, ez a kép fogad: Az a vicc h tegnap még mûködött -.- Mi a baj? E: Megnéztem, és a SINGLE PLAYER Mûködik csak a MP nem
5
« Dátum: 2013. július 18. - 14:38:27 »
HELLÓ! Amikor elindítom a szervert (HAMACHI) a GM-mel, amit én csináltam, akkor kiírja hogy CONNECTED, de újra indul, pontosabban leáll. Amikor meg beállítottam a rivershell vagy nem tudom milyen gamemode-ot akkor meg elindult. :wall: :wall: GameMode-om: //*GameModeot Vajzs (HalalDroid) készítette #include <a_samp> #include <zcmd> main() { print(\"\\n----------------------------------\"); print(\" Magyar Falusi Élet. (xd) By: Vajzs\"); print(\"----------------------------------\\n\"); } public OnGameModeInit() { AddPlayerClass(132, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(134, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(135, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(128, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(131, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(130, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(129, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(159, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(160, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); SetGameModeText(\"[Magyar]Falusi élet\"); AddPlayerClass(133, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); return 1; } public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) { SetPlayerFacingAngle(playerid, 345.8489); SetPlayerPos(playerid, -37.1233,60.1917,3.1172); SetPlayerCameraPos(playerid, -35.4599,66.1700,3.1172); SetPlayerCameraLookAt(playerid, -39.2270,54.9230,6.4844); return 1; } public OnPlayerConnect(playerid) { new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{ff0000}%s {ff8400}Fõgyütt {f7ff00}játszani!\", pName); SendClientMessageToAll(0xff0000AA,string); SendClientMessage(playerid,0xff0000AA,\"Üdvözüllek itt {ff8400}%s!\"); SendClientMessage(playerid,0xff0000AA,\"Kérdésed elûtt olvasgassad ezt: {ff8400}/segitseg\"); SendClientMessage(playerid,0xff0000AA,\"Aztán jó játékot itt!\"); return 1; } public OnPlayerDisconnect(playerid, reason) { new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{ff0000}%s {ff8400}eltakarodott {f7ff00}innét!\", pName); SendClientMessageToAll(0xff0000AA,string); return 1; } public OnPlayerSpawn(playerid) { SetPlayerPos(playerid,-37.0760,60.3843,3.1172); SendClientMessage(playerid, 0x33AA33AA, \"Kaptál 100 Forintot cigire!\"); GivePlayerMoney(playerid, 100); GivePlayerWeapon(playerid,6,1); return 1; } public OnPlayerDeath(playerid, killerid, reason) { new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{ff0000}%s {ff8400}meghótt! {f7ff00}1 perces néma csönd!\", pName); SendClientMessageToAll(0xff0000AA,string); return 1; } public OnPlayerText(playerid, text[]) { new string[152]; new jatekosnev[MAX_PLAYER_NAME]; GetPlayerName(playerid, jatekosnev, MAX_PLAYER_NAME); format(string, sizeof(string), \"%s {c4ff00}monnya\' > {29963e}%s\", jatekosnev, text); SendClientMessageToAll(0xff6600AA, string); return 0; } CMD:segitseg(playerid, params[]) { SendClientMessage(playerid, 0x33AA33AA, \"Légy üdvözülve! A parancsokért írd be hogy /parancsok!\"); SendClientMessage(playerid, 0x33AA33AA, \"A szerveren parasztok szerepébe bújhatsz akik harcolnak,\"); SendClientMessage(playerid, 0x33AA33AA, \"vagy barátkoznak egymással. Ezt te döntöd el. Hogy ölsz..\"); SendClientMessage(playerid, 0x33AA33AA, \"vagy barátkozol..\"); return 1; } CMD:parancsok(playerid, params[]) { SendClientMessage(playerid, 0xffae00AA, \"A szerveren csak FONTOS parancsok vannak.\"); SendClientMessage(playerid, 0xffae00AA, \"/teleport - Teleportálás falukba > /bolt - Vásárolhatsz.\"); SendClientMessage(playerid, 0xffae00AA, \"/kocsi - Autók > /szinek - Névszín változtatása.\"); SendClientMessage(playerid, 0xffae00AA, \"Egy ilyen szerverre több parancs nem is kell..\"); return 1; } CMD:teleport(playerid, params[]) { SendClientMessage(playerid, 0xff0000AA, \"Falvakba tudsz teleportálni.\"); SendClientMessage(playerid, 0xff0000AA, \"/fortcarson > Fort Carson\"); SendClientMessage(playerid, 0xff0000AA, \"/dillimore > Dillimore\"); SendClientMessage(playerid, 0xff0000AA, \"/palomino > Palomino Creek\"); SendClientMessage(playerid, 0xff0000AA, \"Egyéb\"); SendClientMessage(playerid, 0xff0000AA, \"/chilliad > Chilliad\"); return 1; } CMD:bolt(playerid, params[]) { SendClientMessage(playerid, 0x5dad28AA, \"Sanyi bótja:\"); SendClientMessage(playerid, 0x5dad28AA, \"/cigi > Cigaretta > 100 Forint\"); SendClientMessage(playerid, 0x5dad28AA, \"/koccintos > Koccintós bor > 50 forint\"); SendClientMessage(playerid, 0x5dad28AA, \"/zsirskenyer > Zsíroskenyér > 40 Forint\"); SendClientMessage(playerid, 0x5dad28AA, \"/tej > 1 L tej > 30 Forint\"); return 1; } CMD:szinek(playerid, params[]) { SendClientMessage(playerid, 0x5dad28AA, \"Váltható színek:\"); SendClientMessage(playerid, 0x5dad28AA, \"/kek > Kék\"); SendClientMessage(playerid, 0x5dad28AA, \"/zold > Zöld\"); SendClientMessage(playerid, 0x5dad28AA, \"/sarga > Sárga\"); SendClientMessage(playerid, 0x5dad28AA, \"/piros > Piros\"); return 1; } CMD:kocsi(playerid, params[]) { SendClientMessage(playerid, 0xffff00AA, \"Kocsik\"); SendClientMessage(playerid, 0xffff00AA, \"/bobcat > /walton\"); SendClientMessage(playerid, 0xffff00AA, \"/traktor > /clover\"); SendClientMessage(playerid, 0xffff00AA, \"/sadler > /sadlershit\"); SendClientMessage(playerid, 0xffff00AA, \"/bike > /faggio\"); return 1; } CMD:cigi(playerid, params[]) { GivePlayerMoney(playerid, -100); SendClientMessage(playerid, 0x33AA33AA, \"Vettél egy cigit!\"); SetPlayerSpecialAction(playerid,SPECIAL_ACTION_SMOKE_CIGGY); return 1; } CMD:koccintos(playerid, params[]) { GivePlayerMoney(playerid, -50); SetPlayerSpecialAction (playerid, SPECIAL_ACTION_DRINK_WINE ); SendClientMessage(playerid, 0x33AA33AA, \"Megittál 10 liter koccintóst!\"); return 1; } CMD:zsiroskenyer(playerid, params[]) { if(GetPlayerMoney(playerid) < 40) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 40$-od !\"); } GivePlayerMoney(playerid,-40); new Float:hp; GetPlayerHealth(playerid,hp); hp += 15; SetPlayerHealth(playerid,hp); SendClientMessage(playerid,0xFF6600FF,\"Ettél egy zsíroskenyeret.\"); PlayerPlaySound(playerid,1085,0,0,0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}evett egy {ABCDEF}zsíroskenyeret!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:tej(playerid, params[]) { if(GetPlayerMoney(playerid) < 30) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 30$-od !\"); } GivePlayerMoney(playerid,-30); new Float:hp; GetPlayerHealth(playerid,hp); hp += 5; SetPlayerHealth(playerid,hp); SendClientMessage(playerid,0xFF6600FF,\"Ittál egy kis tejet\"); PlayerPlaySound(playerid,1085,0,0,0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}ivott {ABCDEF}tejet!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:bobcat(playerid, params[]) { new Float:X, Float:Y, Float:Z, sabre; GetPlayerPos(playerid, X, Y, Z); sabre = CreateVehicle(422, X, Y, Z, 0.0, -1, -1, -1); PutPlayerInVehicle(playerid, sabre, 0); SendClientMessage(playerid, 0x33AA33AA, \"Bobcat a zsömléid alatt.\"); return 1; } CMD:walton(playerid, params[]) { new Float:X, Float:Y, Float:Z, sabre; GetPlayerPos(playerid, X, Y, Z); sabre = CreateVehicle(468, X, Y, Z, 0.0, -1, -1, -1); PutPlayerInVehicle(playerid, sabre, 0); SendClientMessage(playerid, 0x33AA33AA, \"Walton a zsömléid alatt.\"); return 1; } CMD:traktor(playerid, params[]) { new Float:X, Float:Y, Float:Z, sabre; GetPlayerPos(playerid, X, Y, Z); sabre = CreateVehicle(531, X, Y, Z, 0.0, -1, -1, -1); PutPlayerInVehicle(playerid, sabre, 0); SendClientMessage(playerid, 0x33AA33AA, \"Traktor a zsömléid alatt.\"); return 1; } CMD:clover(playerid, params[]) { new Float:X, Float:Y, Float:Z, sabre; GetPlayerPos(playerid, X, Y, Z); sabre = CreateVehicle(542, X, Y, Z, 0.0, -1, -1, -1); PutPlayerInVehicle(playerid, sabre, 0); SendClientMessage(playerid, 0x33AA33AA, \"Clover a zsömléid alatt.\"); return 1; } CMD:sadler(playerid, params[]) { new Float:X, Float:Y, Float:Z, sabre; GetPlayerPos(playerid, X, Y, Z); sabre = CreateVehicle(543, X, Y, Z, 0.0, -1, -1, -1); PutPlayerInVehicle(playerid, sabre, 0); SendClientMessage(playerid, 0x33AA33AA, \"Sadler a zsömléid alatt.\"); return 1; } CMD:sadlershit(playerid, params[]) { new Float:X, Float:Y, Float:Z, sabre; GetPlayerPos(playerid, X, Y, Z); sabre = CreateVehicle(605, X, Y, Z, 0.0, -1, -1, -1); PutPlayerInVehicle(playerid, sabre, 0); SendClientMessage(playerid, 0x33AA33AA, \"Sadlershit a zsömléid alatt.\"); return 1; } CMD:faggio(playerid, params[]) { new Float:X, Float:Y, Float:Z, sabre; GetPlayerPos(playerid, X, Y, Z); sabre = CreateVehicle(562, X, Y, Z, 0.0, -1, -1, -1); PutPlayerInVehicle(playerid, sabre, 0); SendClientMessage(playerid, 0x33AA33AA, \"Faggio a zsömléid alatt.\"); return 1; } CMD:bike(playerid, params[]) { new Float:X, Float:Y, Float:Z, sabre; GetPlayerPos(playerid, X, Y, Z); sabre = CreateVehicle(509, X, Y, Z, 0.0, -1, -1, -1); PutPlayerInVehicle(playerid, sabre, 0); SendClientMessage(playerid, 0x33AA33AA, \"Bike a zsömléid alatt.\"); return 1; } CMD:kek(playerid, params[]) { SetPlayerColor(playerid, 0x0000FFAA); return 1; } CMD:zold(playerid, params[]) { SetPlayerColor(playerid, 0x33AA33AA); return 1; } CMD:sarga(playerid, params[]) { SetPlayerColor(playerid, 0xFFFF00AA); return 1; } CMD:piros(playerid, params[]) { SetPlayerColor(playerid, 0xFF0606FF); return 1; } CMD:fortcarson(playerid, params[]) { SetPlayerPos(playerid,-297.2833,1081.7644,19.7344); SendClientMessage(playerid, 0x33AA33AA, \"De gyors vótá!\"); return 1; } CMD:palomino(playerid, params[]) { SetPlayerPos(playerid,2242.3850,89.5415,26.3359); SendClientMessage(playerid, 0x33AA33AA, \"De gyors vótá!\"); return 1; } CMD:dillimore(playerid, params[]) { SetPlayerPos(playerid,839.0895,-574.0507,16.3359); SendClientMessage(playerid, 0x33AA33AA, \"De gyors vótá!\"); return 1; } CMD:chilliad(playerid, params[]) { SetPlayerPos(playerid,-2295.2148,-1667.0652,483.4263); SendClientMessage(playerid, 0x33AA33AA, \"De gyors vótá!\"); return 1; } public OnPlayerCommandPerformed ( playerid, cmdtext [ ], success) { if ( !success ) { return SendClientMessage(playerid, 0x33AA33AA, \"Túl sok volt a koccintós. Ilyen parancs nincs!\"); } return 1; }
6
« Dátum: 2013. július 16. - 15:13:05 »
Csináltam egy gamemodeot... Rendelni fogok egy szervert, és tesztelni AKARTAM egy Hamachis szerveren. Minden király volt megcsináltam a szervert. Amikor csatlakozok, (a szerverre) akkor kiírja: Connected. Joining the game. De nem csatlakozik hanem kilép a samp-server exe-bõl . -.- Köszi elõre is a segítséget
Dupla hozzászólás automatikusan összefûzve. ( 2013. július 16. - 19:04:13 )
Kipróbáltam másik GameModeval! Akkor tuti nem a GM-vel van baj! A szerverrel. De mi??
7
« Dátum: 2013. május 08. - 14:19:35 »
Helló ez lehet nagyon hülye kérdés (:facepalm: <- ezt azért írtam ide mert tudom h lesz ilyen hsz... xd) de van neon script 0.3x-re mert nem találok csak c-re..
8
« Dátum: 2013. május 06. - 16:22:55 »
Van nekem 2 dm-em, és azt szeretném h ha meghalok és bentvok a dm-be, akkor visszaspawnoljon abba a DM-be amelyikben épp benne vok, de ha nem vok dm-be, akkor meg az eredeti SPAWNPointra rakjon... Köszi! CMD:m4dm(playerid,params[]) { if(M4[playerid] == true) return SendClientMessage(playerid,0xFFFFFFAA, \"DM zónában vagy ! Elõször {FF0606}/exitdm\"); ResetPlayerWeapons(playerid); ShowNameTags(0); GivePlayerWeapon(playerid,31,9999); SetPlayerHealth(playerid, 10); SetPlayerPos(playerid,-544.5030,-74.2588,62.8594); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FFFFFF}%s Csatlakozott az M4DM-hez! Csatlakozz te is {FF0606}(/m4dm)\", pName); SendClientMessageToAll(0xff0000AA,string); SendClientMessage(playerid, -1,\"Csatlakoztál az M4DM-hez! Kilépéshez: /exitdm\"); M4[playerid] = true; return 1; } CMD:vegyesdm(playerid,params[]) { if(M4[playerid] == true) return SendClientMessage(playerid,0xFFFFFFAA, \"DM zónában vagy ! Elõször {FF0606}/exitdm\"); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,31,9999); GivePlayerWeapon(playerid,22,9999); GivePlayerWeapon(playerid,25,9999); GivePlayerWeapon(playerid,1,9999); ShowNameTags(0); SetPlayerHealth(playerid, 30); SetPlayerPos(playerid,-493.8368,-1350.4968,25.8678); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FFFFFF}%s Csatlakozott az VegyesDM-hez! Csatlakozz te is {FF0606}(/vegyesdm)\", pName); SendClientMessageToAll(0xff0000AA,string); SendClientMessage(playerid, -1,\"Csatlakoztál az VegyesDM-hez! Kilépéshez: /exitdm\"); M4[playerid] = true; return 1; }
9
« Dátum: 2013. május 04. - 18:52:43 »
public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid,223.7769,-1876.3159,2.0432); SetPlayerCameraPos(playerid,223.9960,-1857.5385,3.1059); SetPlayerCameraLookAt(playerid,223.9960,-1857.5385,3.1059); PlayerPlaySound(playerid, 1097,-119.9460,23.1096,12.2238); ApplyAnimation(playerid,\"DANCING\",\"dnce_M_a\",4.1,1,1,1,1,1,1); return 1; } Miért nem látszik a skin? :wall:
10
« Dátum: 2013. május 04. - 16:57:21 »
Helló! Azt szeretném megtudni, hogy hogykell megcsinálni azt, hogy a chaten csak az üzenet amit elküldök az színes legyen? Elõre köszi!
11
« Dátum: 2013. május 01. - 18:22:55 »
Helló! Csináltam 1 GameMode-ot a szerveremre, gondoltam publikálom! Parancsok: 50+ /food - Kaják, melyek + életet adnak! /weapons - Fegyók /cmds - Parancs lista /teles - Teleport lista /help - Egyértelmû /rules - Ez is... /tgf - Kiírja, hogy van-e TGF, vagy sem. /afk - AwayFromKeyboard /afkoff - AwayFromKeyboardOFF v. Vissza térés.. A Mód 90%-ban az enyém, mivel van benne 1 cenzúra cucc amit nem én írtam.. INCLUDE: ZCMD FIXCHARS Képek: Csatlakozás Spawn Fegyverek Kaják Parancsok És a lényeg... /* A Mód 90%-ban az enyém, mert.. A Cenzúrázó cuccot azt nem én csináltam! + Kellett egy kis segítség! */ #include a_samp #include fixchars #include zcmd #pragma tabsize 0 Cenzura(const b[],c[],rep = \'*\') for(new d=0; d<256; d++) if (strfind(c[d], b, true) == 0) for(new a=0; a<256; a++) if (a >= d && a < d+strlen(b)) c[a]=rep; // ez nem az enyém! Ezt Epsilon csinálta! \"http://sampforum.hu/index.php?topic=3308.0\" public OnGameModeInit() { UsePlayerPedAnims(); AddPlayerClass(1,-2233.4751,-1734.6493,480.8472,220.7934,0,0,0,0,0,0); AddPlayerClass(2,-2233.4751,-1734.6493,480.8472,220.7934,0,0,0,0,0,0); AddPlayerClass(3,-2233.4751,-1734.6493,480.8472,220.7934,0,0,0,0,0,0); AddPlayerClass(4,-2233.4751,-1734.6493,480.8472,220.7934,0,0,0,0,0,0); AddPlayerClass(5,-2233.4751,-1734.6493,480.8472,220.7934,0,0,0,0,0,0); AddPlayerClass(6,-2233.4751,-1734.6493,480.8472,220.7934,0,0,0,0,0,0); AddPlayerClass(7,-2233.4751,-1734.6493,480.8472,220.7934,0,0,0,0,0,0); AddPlayerClass(8,-2233.4751,-1734.6493,480.8472,220.7934,0,0,0,0,0,0); AddPlayerClass(9,-2233.4751,-1734.6493,480.8472,220.7934,0,0,0,0,0,0); AddPlayerClass(10,-2233.4751,-1734.6493,480.8472,220.7934,0,0,0,0,0,0); AddPlayerClass(11,-2233.4751,-1734.6493,480.8472,220.7934,0,0,0,0,0,0); AddPlayerClass(12,-2233.4751,-1734.6493,480.8472,220.7934,0,0,0,0,0,0); AddPlayerClass(13,-2233.4751,-1734.6493,480.8472,220.7934,0,0,0,0,0,0); AddPlayerClass(14,-2233.4751,-1734.6493,480.8472,220.7934,0,0,0,0,0,0); AddPlayerClass(15,-2233.4751,-1734.6493,480.8472,220.7934,0,0,0,0,0,0); AddPlayerClass(16,-2233.4751,-1734.6493,480.8472,220.7934,0,0,0,0,0,0); AddPlayerClass(17,-2233.4751,-1734.6493,480.8472,220.7934,0,0,0,0,0,0); AddPlayerClass(18,-2233.4751,-1734.6493,480.8472,220.7934,0,0,0,0,0,0); AddPlayerClass(19,-2233.4751,-1734.6493,480.8472,220.7934,0,0,0,0,0,0); AddPlayerClass(20,-2233.4751,-1734.6493,480.8472,220.7934,0,0,0,0,0,0); AddPlayerClass(21,-2233.4751,-1734.6493,480.8472,220.7934,0,0,0,0,0,0); AddPlayerClass(22,-2233.4751,-1734.6493,480.8472,220.7934,0,0,0,0,0,0); AddPlayerClass(23,-2233.4751,-1734.6493,480.8472,220.7934,0,0,0,0,0,0); AddPlayerClass(24,-2233.4751,-1734.6493,480.8472,220.7934,0,0,0,0,0,0); AddPlayerClass(25,-2233.4751,-1734.6493,480.8472,220.7934,0,0,0,0,0,0); AddStaticPickup(346, 15, 2493.2417,-1687.2196, 13.5138); AddStaticPickup(370, 15, 2489.3792,-1686.9971, 13.5146); AddStaticPickup(344, 15, 2484.7742,-1686.6833, 13.5080); AddStaticVehicle(411,2473.1252, -1692.7493, 13.2417,0.7485,64,1); AddStaticVehicle(451,2498.8508,-1683.4614,13.0942,282.9595,125,125); AddStaticVehicle(522,2494.4165,-1647.3062,13.1118,36.0145,6,25); AddStaticVehicle(510,2513.1921,-1685.7766,13.1385,82.7163,46,46); AddStaticVehicle(562,2437.7935,-1677.2106,13.3740,359.4260,35,1); AddStaticVehicle(562,2433.1521,-1677.0685,13.3762,0.1049,17,1); AddStaticVehicle(562,2428.7163,-1676.8701,13.3691,0.8109,11,1); AddStaticVehicle(522,2424.3533,-1676.6710,13.2740,3.0713,7,79); AddStaticVehicle(407,-2021.5176,74.6266,28.3643,271.8415,83,115); AddStaticVehicle(407,-2021.6913,83.5158,28.2439,267.9506,46,53); AddStaticVehicle(407,-2021.7384,92.6203,28.2799,272.2403,97,84); AddStaticVehicle(597,-1634.8638,651.1411,6.9567,358.2930,50,30); AddStaticVehicle(597,-1622.6279,651.4379,6.9569,359.7473,91,61); AddStaticVehicle(597,-1605.3195,651.1875,6.9565,356.3983,122,107); AddStaticVehicle(523,-1612.8700,673.2302,6.7590,181.6008,108,62); AddStaticVehicle(599,-1600.0300,673.3554,7.3789,176.9118,45,0); AddStaticVehicle(407,-2021.5176,74.6266,28.3643,271.8415,83,115); AddStaticVehicle(407,-2021.6913,83.5158,28.2439,267.9506,46,53); AddStaticVehicle(407,-2021.7384,92.6203,28.2799,272.2403,97,84); AddStaticVehicle(597,-1634.8638,651.1411,6.9567,358.2930,50,30); AddStaticVehicle(597,-1622.6279,651.4379,6.9569,359.7473,91,61); AddStaticVehicle(597,-1605.3195,651.1875,6.9565,356.3983,122,107); AddStaticVehicle(523,-1612.8700,673.2302,6.7590,181.6008,108,62); AddStaticVehicle(599,-1600.0300,673.3554,7.3789,176.9118,45,0); AddStaticVehicle(579,-1655.6976,1314.6937,6.9725,134.6483,0,0); AddStaticVehicle(477,-1652.0837,1311.3364,6.7880,134.5147,0,0); AddStaticVehicle(555,-1648.1652,1308.0527,6.7132,135.0099,0,0); AddStaticVehicle(404,-1645.1879,1303.7866,6.7606,136.1379,0,0); AddStaticVehicle(522,-1642.6099,1299.8983,6.5939,133.6816,34,91); AddStaticVehicle(402,-1637.8093,1297.3398,6.8683,133.5869,66,66); AddStaticVehicle(531,-1634.3992,1293.4717,7.0063,133.8046,75,31); AddStaticVehicle(506,-1631.0022,1289.9691,6.7435,133.0865,1,58); AddStaticVehicle(411,2075.0330,1179.8167,10.4069,223.9384,82,13); AddStaticVehicle(411,2075.1660,1175.3718,10.4041,245.4526,122,0); AddStaticVehicle(411,2075.2522,1171.6421,10.4028,235.0533,60,17); AddStaticVehicle(510,1982.7104,-1162.2281,20.4184,239.5562,47,106); AddStaticVehicle(483,-2328.6909,-1656.9364,483.6954,236.9247,82,3); SetGameModeText(\"Írd át!\"); AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); return 1; } public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) { ApplyAnimation(playerid, \"ON_LOOKERS\", \"wave_loop\", 4.0, 1, 0, 0, 0, 0); SetPlayerInterior(playerid,14); SetPlayerPos(playerid,258.4893,-41.4008,1002.0234); SetPlayerFacingAngle(playerid, 270.0); SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234); SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234); PlayerPlaySound(playerid, 1097,-119.9460,23.1096,12.2238); ApplyAnimation(playerid,\"DANCING\",\"dnce_M_a\",4.1,1,1,1,1,1,1); return 1; } public OnPlayerConnect(playerid) { SendDeathMessage(INVALID_PLAYER_ID, playerid, 200); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {0000FF}jött {FFFF00}kockulni a {0000FF}szerverre!\", pName); SendClientMessageToAll(0xFF9933AA,string); SendClientMessage(playerid,0xFF9933AA,\"Üdvözöllek {FF0606}a {33AA33}szerveren!\"); SendClientMessage(playerid,0xFF9933AA,\"Mielõtt bármit kérdeznél {33AA33}/cmds, /help, /rules!\"); SendClientMessage(playerid,0xFF0606FF,\"Jó Játékot!\"); return 1; } public OnPlayerDisconnect(playerid, reason) { SendDeathMessage(INVALID_PLAYER_ID, playerid, 201); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {33AA33}megunta a játékot.\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } public OnPlayerSpawn(playerid) { GivePlayerMoney(playerid, 10000); SetPlayerVirtualWorld(playerid, 0); PlayerPlaySound(playerid, 1098,-119.9460,23.1096,12.2238); SetPlayerInterior(playerid, 0); PlayerPlaySound(playerid,1085,0,0,0); GivePlayerWeapon(playerid,31,1000); GivePlayerWeapon(playerid,4,9999); GivePlayerWeapon(playerid,26,1000); SetPlayerPos(playerid,2493.8020,-1672.7885,13.3359); SendClientMessage(playerid,0xFF9933AA,\"Mehet a játék!\"); return 1; } public OnPlayerDeath(playerid, killerid, reason) { SendDeathMessage( killerid, playerid, reason ); SetPlayerArmour(playerid, 0); SetPlayerWantedLevel(playerid,0); GivePlayerMoney(killerid, 10000); ResetPlayerMoney(playerid); ResetPlayerWeapons(playerid); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}meghalt! {33aa33}Sirassuk meg!\", pName); SendClientMessageToAll(0xFF9933AA,string); GameTextForPlayer(playerid,\"~r~~h~Béna vagy!\", 5000, 3); return 1; } public OnVehicleSpawn(vehicleid) { return 1; } public OnVehicleDeath(vehicleid, killerid) { return 1; } public OnPlayerText(playerid, text[]) { Cenzura(\"k*rv*\",text); Cenzura(\"buzi\",text); Cenzura(\"strici\",text); Cenzura(\"bazmeg\",text); Cenzura(\"***dmeg\",text); Cenzura(\"geci\",text); Cenzura(\"köcsög\",text); Cenzura(\"k*rv*\",text); Cenzura(\"Buzi\",text); Cenzura(\"Strici\",text); Cenzura(\"Bazmeg\",text); Cenzura(\"***dmeg\",text); Cenzura(\"Geci\",text); Cenzura(\"Köcsög\",text); //ez nem az enyém! Ezt innen néztem! http://sampforum.hu/index.php?topic=3308.0! return 1; } CMD:cmds(playerid, params[]) { ShowPlayerDialog(playerid,6,DIALOG_STYLE_MSGBOX,\"{33AA33}Parancsok:\",\"{0000FF}/weapons - {33AA33}Fegyverek\\n{0000FF}/colors - {33AA33}Színek\\n{0000FF}/teles - {33AA33}Teleportok\\n{0000FF}/kill - {33AA33}Meghalsz\\n{0000FF}/cast - {33AA33}Elérhetõ kasztok\\n\",\"Oké\",\"Oké\"); return 1; } CMD:weapons(playerid, params[]) { ShowPlayerDialog(playerid,6,DIALOG_STYLE_MSGBOX,\"{33AA33}Fegyverek:\",\"{0000FF}/m4 - {33AA33}1000$\\n{0000FF}/ak47 - {33AA33}1000$\\n{0000FF}/deagle - {33AA33}300$\\n{0000FF}/chinsaw - {33AA33}1500$\\n{0000FF}/shotgun - {33AA33}500$\\n{0000FF}/tec9 - {33AA33}400$\\n{0000FF}/flameth - {33AA33}3000$\\n{0000FF}/sniper - {33AA33}700$\\n{0000FF}/minigun - {33AA33}1000000$\\n{0000FF}/rpg - {33AA33}200000$ \",\"Oké\",\"Oké\"); return 1; } CMD:teles(playerid, params[]) { ShowPlayerDialog(playerid,6,DIALOG_STYLE_MSGBOX,\"{33AA33}Teleportok:\",\"{0000FF}/sf - {33AA33}San Fierro\\n{0000FF}/lv - {33AA33}Las Venturas\\n{0000FF}/ls - {33AA33}Los Santos\\n{0000FF}/lsa - {33AA33}Los Santos Air\\n{0000FF}/sfa - {33AA33}San Fierro Air\\n{0000FF}/lva - {33AA33}Las Venturas Air\\n{0000FF}/area51 - {33AA33}Area51\\n{0000FF}/chilliad - {0000FF}Chilliad\",\"Oké\",\"Oké\"); return 1; } CMD:cast(playerid, params[]) { ShowPlayerDialog(playerid,6,DIALOG_STYLE_MSGBOX,\"{33AA33}Kasztok:\",\"{0000FF}/police - {33AA33}Rendõr\\n{0000FF}/fireman - {33AA33}Tûzoltó\\n{0000FF}/soldier - {33AA33}Katona\\n{0000FF}/gipsy - {33AA33}Cigány xd\\n{0000FF}/maffia - {33AA33}Maffiózó leszel\",\"Oké\",\"Oké\"); return 1; } CMD:food(playerid, params[]) { ShowPlayerDialog(playerid,6,DIALOG_STYLE_MSGBOX,\"{33AA33}Kaják:\",\"{0000FF}/chips - {33AA33}10% élet\\n{0000FF}/hamburger - {33AA33}15% élet\\n{0000FF}/hotdog - {33AA33}15% élet\\n{0000FF}/zsiroskenyer - {33AA33}20% élet\\n{0000FF}/sportszelet - {33AA33}5% élet\\n/{0000FF}sandwich - {33AA33}35% élet\\n/{0000FF}gofri - {33AA33}25% élet\\n/{0000FF}gyros - {33AA33}30% élet\",\"Oké\",\"Oké\"); return 1; } CMD:colors(playerid, params[]) { ShowPlayerDialog(playerid,6,DIALOG_STYLE_MSGBOX,\"{33AA33}Színek:\",\"{00FFFF}/blue\\n/{FF9933}orange\\n{FFFFFF}/white\\n{000000}/black\\n{FF0606}/red\\n{33AA33}/green\",\"Oké\",\"Oké\"); return 1; } CMD:kill(playerid, params[]) { SetPlayerHealth(playerid, 0.0); return 1; } CMD:help(playerid, params[]) { ShowPlayerDialog(playerid,6,DIALOG_STYLE_MSGBOX,\"{33AA33}Segítség:\",\"{33AA33}Ha bármi gond van szólj az {FF0606}Adminoknak!\\n - {33AA33}/cmds - {FF0606}Parancs lista\\n - {33AA33}/tgf - {FF0606}TAGFELVÉTEL\\n - {FF0606}/rules - Szabályzat!\\n{FF9933}A Szerveren nem csak adminok tudnak gotozni, hanem {33AA33} a játékosok {FF9933}is!\\n{FF0606}Nyomd meg a Tab-ot, és katt a {FFFF00}játékos nevére!\\n{33AA33}GameMode-ot {FF9933}Vajzs {33AA33}készítette!\",\"Oké\",\"Oké\"); return 1; } CMD:rules(playerid, params[]) { ShowPlayerDialog(playerid,6,DIALOG_STYLE_MSGBOX,\"{33AA33}Szabályok!:\",\"{00FFFF}- Ne Hackelj!\\n - Ne kérj admint; /tgf!\\n - Ne káromkodj!\\n {FF0606}Ha ezeket nem tartod be: Ban! Kick! Warn! Mute!\",\"Oké\",\"Oké\"); return 1; } CMD:tgf(playerid, params[]) { SendClientMessage(playerid, 0x33AA33AA, \"AdminTGF: {FF0606}VAN!\"); return 1; } CMD:chips(playerid, params[]) { if(GetPlayerMoney(playerid) < 10) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 10$-od !\"); } GivePlayerMoney(playerid,-10); new Float:hp; GetPlayerHealth(playerid,hp); hp += 10; SetPlayerHealth(playerid,hp); SendClientMessage(playerid,0xFF6600FF,\"Ettél egy chipset.\"); PlayerPlaySound(playerid,1085,0,0,0); ApplyAnimation(playerid, \"FOOD\", \"EAT_Burger\", 3.0, 0, 0, 0, 0, 0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}evett egy {ABCDEF}chipset!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:hamburger(playerid, params[]) { if(GetPlayerMoney(playerid) < 50) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 50$-od !\"); } GivePlayerMoney(playerid,-50); new Float:hp; GetPlayerHealth(playerid,hp); hp += 15; SetPlayerHealth(playerid,hp); SendClientMessage(playerid,0xFF6600FF,\"Ettél egy hamburgert.\"); PlayerPlaySound(playerid,1085,0,0,0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); ApplyAnimation(playerid, \"FOOD\", \"EAT_Burger\", 3.0, 0, 0, 0, 0, 0); format(string, 256, \"{FF9933}%s {FF0606}evett egy {ABCDEF}hamburgert!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:hotdog(playerid, params[]) { if(GetPlayerMoney(playerid) < 50) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 50$-od !\"); } GivePlayerMoney(playerid,-50); new Float:hp; GetPlayerHealth(playerid,hp); hp += 15; SetPlayerHealth(playerid,hp); ApplyAnimation(playerid, \"FOOD\", \"EAT_Burger\", 3.0, 0, 0, 0, 0, 0); SendClientMessage(playerid,0xFF6600FF,\"Ettél egy hotdogot.\"); PlayerPlaySound(playerid,1085,0,0,0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}evett egy {ABCDEF}hotdogot!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:zsiroskenyer(playerid, params[]) { if(GetPlayerMoney(playerid) < 100) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 100$-od !\"); } GivePlayerMoney(playerid,-100); new Float:hp; GetPlayerHealth(playerid,hp); hp += 20; SetPlayerHealth(playerid,hp); SendClientMessage(playerid,0xFF6600FF,\"Ettél egy zsíroskenyeret!\"); PlayerPlaySound(playerid,1085,0,0,0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}evett egy {ABCDEF}zsíroskenyeret!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:sportszelet(playerid, params[]) { if(GetPlayerMoney(playerid) < 2) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 2$-od !\"); } GivePlayerMoney(playerid,-2); new Float:hp; GetPlayerHealth(playerid,hp); hp += 5; SetPlayerHealth(playerid,hp); ApplyAnimation(playerid, \"FOOD\", \"EAT_Burger\", 3.0, 0, 0, 0, 0, 0); SendClientMessage(playerid,0xFF6600FF,\"Ettél egy Sportszeletet.\"); PlayerPlaySound(playerid,1085,0,0,0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}evett egy {ABCDEF}Sportszeletet!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:gyros(playerid, params[]) { if(GetPlayerMoney(playerid) < 50) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 50$-od !\"); } GivePlayerMoney(playerid,-50); new Float:hp; GetPlayerHealth(playerid,hp); hp += 30; SetPlayerHealth(playerid,hp); ApplyAnimation(playerid, \"FOOD\", \"EAT_Burger\", 3.0, 0, 0, 0, 0, 0); SendClientMessage(playerid,0xFF6600FF,\"Ettél egy Gyrost.\"); PlayerPlaySound(playerid,1085,0,0,0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}evett egy {ABCDEF}Gyrost!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:gofri(playerid, params[]) { if(GetPlayerMoney(playerid) < 45) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 45$-od !\"); } GivePlayerMoney(playerid,-45); new Float:hp; GetPlayerHealth(playerid,hp); hp += 25; SetPlayerHealth(playerid,hp); ApplyAnimation(playerid, \"FOOD\", \"EAT_Burger\", 3.0, 0, 0, 0, 0, 0); SendClientMessage(playerid,0xFF6600FF,\"Ettél egy Gofrit.\"); PlayerPlaySound(playerid,1085,0,0,0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}evett egy {ABCDEF}Gofrit!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:sandwich(playerid, params[]) { if(GetPlayerMoney(playerid) < 50) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 50$-od !\"); } GivePlayerMoney(playerid,-50); new Float:hp; GetPlayerHealth(playerid,hp); hp += 35; SetPlayerHealth(playerid,hp); ApplyAnimation(playerid, \"FOOD\", \"EAT_Burger\", 3.0, 0, 0, 0, 0, 0); SendClientMessage(playerid,0xFF6600FF,\"Ettél egy sandwichet.\"); PlayerPlaySound(playerid,1085,0,0,0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}evett egy {ABCDEF}Sandwichet!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:ak47(playerid, params[]) { if(GetPlayerMoney(playerid) < 1000) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 1000$-od !\"); } GivePlayerWeapon(playerid,30,1000); GivePlayerMoney(playerid,-1000); SendClientMessage(playerid, 0x00BFFFAA, \"Vettél egy AK47-et!\"); PlayerPlaySound(playerid,1085,0,0,0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}szerzett magának egy {33AA33}AK47-et!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:m4(playerid, params[]) { if(GetPlayerMoney(playerid) < 1000) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 1000$-od !\"); } GivePlayerWeapon(playerid,31,1000); GivePlayerMoney(playerid,-1000); SendClientMessage(playerid, 0x00BFFFAA, \"Vettél egy M4-et!\"); PlayerPlaySound(playerid,1085,0,0,0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}szerzett magának egy {33AA33}M4-et!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:chinsaw(playerid, params[]) { if(GetPlayerMoney(playerid) < 1500) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 1500$-od !\"); } GivePlayerWeapon(playerid,9,1000); GivePlayerMoney(playerid,-1500); SendClientMessage(playerid, 0x00BFFFAA, \"Vettél egy Láncfûrészt!\"); PlayerPlaySound(playerid,1085,0,0,0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}szerzett magának egy {33AA33}láncfûrészt!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:deagle(playerid, params[]) { if(GetPlayerMoney(playerid) < 300) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 300$-od !\"); } GivePlayerWeapon(playerid,24,1000); GivePlayerMoney(playerid,-300); SendClientMessage(playerid, 0x00BFFFAA, \"Vettél egy Deaglet!\"); PlayerPlaySound(playerid,1085,0,0,0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}szerzett magának egy {33AA33}Deagle-t!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:sniper(playerid, params[]) { if(GetPlayerMoney(playerid) < 700) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 700$-od !\"); } GivePlayerWeapon(playerid,34,1000); GivePlayerMoney(playerid,-700); SendClientMessage(playerid, 0x00BFFFAA, \"Vettél egy Snipert!\"); PlayerPlaySound(playerid,1085,0,0,0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}szerzett magának egy {33AA33}Snipert!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:shotgun(playerid, params[]) { if(GetPlayerMoney(playerid) < 500) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 500$-od !\"); } GivePlayerWeapon(playerid,25,1000); GivePlayerMoney(playerid,-500); SendClientMessage(playerid, 0x00BFFFAA, \"Vettél egy Shotgunt!\"); PlayerPlaySound(playerid,1085,0,0,0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}szerzett magának egy {33AA33}ShotGunt!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:flameth(playerid, params[]) { if(GetPlayerMoney(playerid) < 3000) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 3000$-od !\"); } GivePlayerWeapon(playerid,37,1000); GivePlayerMoney(playerid,-3000); SendClientMessage(playerid, 0x00BFFFAA, \"Vettél egy Lángszórót!!\"); PlayerPlaySound(playerid,1085,0,0,0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}szerzett magának egy {33AA33}lángszórót, {ABCDEF}mert pisztollyal nem megy neki!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:tec9(playerid, params[]) { if(GetPlayerMoney(playerid) < 500) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 500$-od !\"); } GivePlayerWeapon(playerid,32,1000); GivePlayerMoney(playerid,-500); SendClientMessage(playerid, 0x00BFFFAA, \"Vettél egy Tec9-et!\"); PlayerPlaySound(playerid,1085,0,0,0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}szerzett magának egy {33AA33}Tec9-et!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:minigun(playerid, params[]) { if(GetPlayerMoney(playerid) < 1000000) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 1000000$-od !\"); } GivePlayerWeapon(playerid,38,1000); GivePlayerMoney(playerid,-1000000); SendClientMessage(playerid, 0x00BFFFAA, \"Vettél egy Minigunt!\"); PlayerPlaySound(playerid,1085,0,0,0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}szerzett magának egy {33AA33}Minigunt!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:rpg(playerid, params[]) { if(GetPlayerMoney(playerid) < 200000) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 200000$-od !\"); } GivePlayerWeapon(playerid,35,1000); GivePlayerMoney(playerid,-200000); SendClientMessage(playerid, 0x00BFFFAA, \"Vettél egy RPG-t! Nem.. nem a RolePlayGaming -.-\"); PlayerPlaySound(playerid,1085,0,0,0); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}szerzett magának egy {33AA33}RPG-t!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:sf(playerid, params[]) { SetPlayerPos(playerid,-1691.5912,1353.2102,9.8047); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"%s elteleportált {FF9933}SanFierroba!\", pName); SendClientMessageToAll(0x33AA33AA,string); GameTextForPlayer(playerid,\"San Fierro!\", 5000, 3); return 1; } CMD:ls(playerid, params[]) { SetPlayerPos(playerid,1973.6042,-1157.5143,20.9531); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"%s elteleportált {FF9933}Los Santos-ba!\", pName); SendClientMessageToAll(0x33AA33AA,string); GameTextForPlayer(playerid,\"Los Santos\", 5000, 3); return 1; } CMD:lv(playerid, params[]) { SetPlayerPos(playerid,2094.4348,1161.4370,11.6484); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"%s elteleportált {FF9933}Las Venturas-ba!\", pName); SendClientMessageToAll(0x33AA33AA,string); GameTextForPlayer(playerid,\"Las Venturas\", 5000, 3); return 1; } CMD:lva(playerid, params[]) { SetPlayerPos(playerid,1435.5493,1435.1508,10.8203); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"%s elteleportált {FF9933}Las Venturas Airra!\", pName); SendClientMessageToAll(0x33AA33AA,string); GameTextForPlayer(playerid,\"Las Venturas Airport\", 5000, 3); return 1; } CMD:sfa(playerid, params[]) { SetPlayerPos(playerid,-1532.5897,-248.7376,14.1484); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"%s elteleportált {FF9933}San Fierro Airra!\", pName); SendClientMessageToAll(0x33AA33AA,string); GameTextForPlayer(playerid,\"San Fierro Airport\", 5000, 3); return 1; } CMD:lsa(playerid, params[]) { SetPlayerPos(playerid,1947.9374,-2459.2046,13.5391); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"%s elteleportált {FF9933}Los Santos Airra!\", pName); SendClientMessageToAll(0x33AA33AA,string); GameTextForPlayer(playerid,\"Los Santos Airport\", 5000, 3); return 1; } CMD:chilliad(playerid, params[]) { SetPlayerPos(playerid,-2235.9731,-1735.4957,480.7945); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"%s elteleportált {FF9933}Chilliad-ra! \", pName); SendClientMessageToAll(0x33AA33AA,string); return 1; } CMD:area51(playerid, params[]) { SetPlayerPos(playerid,211.1893,1811.9176,21.8594); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"%s elteleportált az {FF9933}51-es körzetbe!\", pName); SendClientMessageToAll(0x33AA33AA,string); return 1; } CMD:rep(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { RepairVehicle(GetPlayerVehicleID(playerid)); SendClientMessage(playerid, 0x33AA33AA, \"A jármûved megjavítva!\"); } else SendClientMessage(playerid, 0xFF0606FF, \"Nem vagy kocsiban!\"); return 1; } CMD:police(playerid, params[]) { SetPlayerSkin(playerid,266); ResetPlayerWeapons(playerid); ResetPlayerMoney(playerid); GivePlayerWeapon(playerid,24,1000); GivePlayerWeapon(playerid,25,1000); GivePlayerWeapon(playerid,29,1000); GivePlayerWeapon(playerid,3,999999); GivePlayerMoney(playerid,100000); SetPlayerColor(playerid, 0x0000FFAA); SetPlayerHealth(playerid, 100); SetPlayerPos(playerid, -1618.1714,685.0083,7.1875); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"%s {ABCDEF}rendõr lett!\", pName); SendClientMessageToAll(0xFFFFFFAA,string); SendClientMessage(playerid, 0x33AA33AA, \"Rendõr lettél:)\"); GameTextForPlayer(playerid,\"Rendõr lettél!\", 5000, 3); return 1; } CMD:fireman(playerid, params[]) { SetPlayerSkin(playerid,279); ResetPlayerWeapons(playerid); ResetPlayerMoney(playerid); GivePlayerWeapon(playerid,42,1000); GivePlayerMoney(playerid,20000); SetPlayerColor(playerid, 0xAA3333AA); SetPlayerHealth(playerid,100); SetPlayerPos(playerid, -2026.7089,67.4193,28.6916); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"%s {ABCDEF}tûzoltó lett!\", pName); SendClientMessageToAll(0xFFFFFFAA,string); SendClientMessage(playerid, 0x33AA33AA, \"Tûzoltó lettél\"); GameTextForPlayer(playerid,\"Tûzoltó lettél!\", 5000, 3); return 1; } CMD:soldier(playerid, params[]) { SetPlayerSkin(playerid,287); ResetPlayerWeapons(playerid); ResetPlayerMoney(playerid); GivePlayerWeapon(playerid,17,50); GivePlayerWeapon(playerid,28,1000); GivePlayerWeapon(playerid,30,1000); GivePlayerMoney(playerid,100000); SetPlayerColor(playerid,0x33AA33AA); SetPlayerHealth(playerid, 100); SetPlayerPos(playerid, 211.4996,1812.2880,21.8594); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"%s {ABCDEF}katona lett!\", pName); SendClientMessageToAll(0xFFFFFFAA,string); SendClientMessage(playerid, 0x33AA33AA, \"Katona lettél!\"); GameTextForPlayer(playerid,\"Katona lettél\", 5000, 3); return 1; } CMD:maffia(playerid, params[]) { SetPlayerSkin(playerid,120); ResetPlayerWeapons(playerid); ResetPlayerMoney(playerid); GivePlayerWeapon(playerid,29,1000); GivePlayerWeapon(playerid,32,1000); GivePlayerMoney(playerid, 10000); SetPlayerColor(playerid,0x000000AA); SetPlayerHealth(playerid, 100); SetPlayerPos(playerid, 1689.5740,1000.9226,10.8203); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"%s {ABCDEF}maffiózó lett!\", pName); SendClientMessageToAll(0xFFFFFFAA,string); SendClientMessage(playerid, 0x33AA33AA, \"Maffiózó lettél!\"); GameTextForPlayer(playerid,\"Maffiózó lettél!\", 5000, 3); return 1; } CMD:gipsy(playerid, params[]) { SetPlayerSkin(playerid,0); ResetPlayerWeapons(playerid); ResetPlayerMoney(playerid); GivePlayerWeapon(playerid,5,9999); GivePlayerMoney(playerid,3000); SetPlayerColor(playerid,0x9900FFAA); SetPlayerHealth(playerid, 70); SetPlayerPos(playerid, 2453.5452,-1714.1440,13.6355); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"%s {ABCDEF}cigány lett!\", pName); SendClientMessageToAll(0xFFFFFFAA,string); SendClientMessage(playerid, 0x33AA33AA, \"Cigány lettél! xD\"); GameTextForPlayer(playerid,\"Cigány lettél!\", 5000, 3); return 1; } CMD:flip(playerid, params[]) { if (!IsPlayerInAnyVehicle(playerid)) return SendClientMessage( playerid, -1, \"Nem jármûben ülsz!\" ); new VehicleID, Float:X, Float:Y, Float:Z, Float:Angle; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); GetVehicleZAngle(VehicleID, Angle); SetVehiclePos(VehicleID, X, Y, Z); SetVehicleZAngle(VehicleID, Angle); SendClientMessage(playerid, 0x9900FFAA,\"Autó Felfordítva\"); return 1; } CMD:god(playerid, params[]) { if(GetPlayerMoney(playerid) < 20000000) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 20000000$-od !\"); } SetPlayerHealth(playerid, 999999); GivePlayerMoney(playerid,-20000000); SendClientMessage(playerid, 0x00BFFFAA, \"Megvetted a GodMódot!!\"); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"{FF9933}%s {FF0606}bekapcsolta az {33AA33}isten módot!\", pName); SendClientMessageToAll(0xFF9933AA,string); return 1; } CMD:black(playerid, params[]) { SendClientMessage(playerid, 0xFFFFFFAA, \"Színed: {000000}fekete!\"); SetPlayerColor(playerid,0x000000AA); return 1; } CMD:white(playerid, params[]) { SendClientMessage(playerid, 0xFFFFFFAA, \"Színed: fehér!\"); SetPlayerColor(playerid,0xFFFFFFAA); return 1; } CMD:blue(playerid, params[]) { SendClientMessage(playerid, 0xFFFFFFAA, \"Színed: {00FFFF}kék!\"); SetPlayerColor(playerid,0x00FFFFAA); return 1; } CMD:red(playerid, params[]) { SendClientMessage(playerid, 0xFFFFFFAA, \"Színed: {FF0606}piros!\"); SetPlayerColor(playerid,0xFF0606FF); return 1; } CMD:green(playerid, params[]) { SendClientMessage(playerid, 0xFFFFFFAA, \"Színed: {33AA33}zöld!\"); SetPlayerColor(playerid,0x33AA33AA); return 1; } CMD:v(playerid, params[]) { SendClientMessage(playerid, 0xffffffff, \"{FF0000}Használat: {057CEA}/car {33FF33}[modelid/jármûnév] {CDF917}[szín1] {33CCFF}[szín2]\"); return 1; } CMD:afk(playerid, params[]) { TogglePlayerControllable(playerid, 0); SendClientMessage(playerid, 0x33AA33AA, \"AFK Mód: {FF0606}BE! Visszatéréshez {00FFFF}/afkoff\"); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"%s {FF0606}elment a géptõl!\", pName); SendClientMessageToAll(0xFFFFFFAA,string); return 1; } CMD:afkoff(playerid, params[]) { TogglePlayerControllable(playerid, 1); SendClientMessage(playerid, 0x33AA33AA, \"AFK Mód: {FF0606}KI!\"); new pName[30], string[128]; GetPlayerName(playerid, pName, 30); format(string, 256, \"%s {FF0606}visszajött a géphez!\", pName); SendClientMessageToAll(0xFFFFFFAA,string); return 1; } public OnPlayerCommandPerformed ( playerid, cmdtext [ ], success) { if ( !success ) { return ShowPlayerDialog(playerid,6,DIALOG_STYLE_MSGBOX,\"{33AA33}HIBÁS PARANCS!:\",\"{0000FF}/car - {33AA33}Autók\\n{0000FF}/weapons - {33AA33}Fegyverek\\n{0000FF}/colors - {33AA33}Színek\\n{0000FF}/teles - {33AA33}Teleportok\\n{0000FF}/kill - {33AA33}Meghalsz\\n{0000FF}/cast - {33AA33}Elérhetõ kasztok\\n\",\"Oké\",\"Oké\"); } return 1; } public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { SendClientMessage(playerid, 0xFFFFFFFF, \"==============\"); SendClientMessage(playerid, 0x33AA33AA, \"Javítás: /rep\"); SendClientMessage(playerid, 0x33AA33AA, \"Felállítás: /flip\"); SendClientMessage(playerid, 0xFFFFFFFF, \"==============\"); return 1; } public OnPlayerUpdate(playerid) { SetPlayerScore(playerid, GetPlayerMoney(playerid)); return 1; } public OnPlayerClickPlayer(playerid, clickedplayerid, source) { new Float:x, Float:y, Float:z; GetPlayerPos(clickedplayerid,x,y,z); SetPlayerPos(playerid,x,y,z); return 1; } Vagy... http://www.mediafire.com/?rtbhxvt9ugj6e11
12
« Dátum: 2013. május 01. - 16:51:59 »
Helló! Azt szeretném kérdezni, hogy lehet azt megcsinálni, hogyha egy ember beleáll 1 checkpointba, csak akkor tudja használni mondjuk a /m4 parancsot? elõre köszi!
13
« Dátum: 2013. május 01. - 11:02:56 »
Helló! Szeretnék csinálni egy AdminRendszert, és a segítségeteket kérném. - /register , /login. Ne dialogos legyen. <-- ebben szeretnék segítséget kérni, hogy elmentse az adminom, a pénzem, a jelszavam... + hogy a parancsokat csak admin tudja használni Aki segít +-t kap Elõre is köszi!
14
« Dátum: 2013. április 29. - 21:04:57 »
Megint az a problémám, hogy nem menti el a pénzemet az admin szkript. Most nem LAdmint használok, hanem letöltöttem egy J-Admint... Elvileg mentenie kéne, de nem menti
15
« Dátum: 2013. április 28. - 20:40:18 »
Helló! Azt meglehet csinálni, hogyha beírja mondjuk valaki hogy /maffiozo, akkor kapjon 2000$ vérdíjat, és ha valaki megöli, akkor megkapja a 2000$-t? Remélem értitek:D Elõre köszi.
|