#include <a_samp>#define DIALOG_HAVASILAKO 1231#define COLOR_KEK 0x0033ffAA#if defined FILTERSCRIPTpublic OnFilterScriptInit(){print(\"\\n--------------------------------------\");print(\" Blank Filterscript by your name here\");print(\"--------------------------------------\\n\");return 1;}public OnFilterScriptExit(){return 1;}#elsemain(){print(\"\\n----------------------------------\");print(\" Blank Gamemode by your name here\");print(\"----------------------------------\\n\");}#endifpublic OnGameModeInit(){ CreateObject(6300, 2992.59961, -1979.09961, 5.7, 0, 0, 85.99); CreateObject(4654, 2894.19922, -1983.59961, 9.3, 0, 0, 265.995); CreateObject(3356, 2964.19995, -1966.59998, 18.2, 0, 0, 355.995); CreateObject(3454, 3014.09961, -1992.69922, 18, 0, 0, 265.995); CreateObject(3587, 2980.6001, -1967.5, 16.4, 0, 0, 357.995); CreateObject(987, 2956.3999, -1957.19995, 13.8, 0, 0, 356); CreateObject(987, 2954.59961, -1969.69922, 13.8, 0, 0, 265.995); CreateObject(987, 2953.8999, -1991.69995, 13.8, 0, 0, 354); CreateObject(987, 2955.59961, -1957.39941, 13.8, 0, 0, 265.995); CreateObject(987, 2965.80005, -1992.80005, 13.8, 0, 0, 265.995); CreateObject(987, 2965.1001, -2004.5, 13.8, 0, 0, 356); CreateObject(987, 2977.3999, -2004.90002, 13.8, 0, 0, 88); CreateObject(987, 2978.1001, -1992.90002, 13.8, 0, 0, 356); CreateObject(987, 2989.80005, -1993.80005, 13.8, 0, 0, 266); CreateObject(987, 2989, -2008.80005, 13.8, 0, 0, 84); CreateObject(987, 2988.80005, -2009.09998, 13.8, 0, 0, 356); CreateObject(987, 3000.69995, -2010.09998, 13.8, 0, 0, 356); CreateObject(987, 3012.69995, -2010.90002, 13.8, 0, 0, 356); CreateObject(987, 3017, -2011.30005, 13.8, 0, 0, 358); CreateObject(987, 3028.8999, -2011.90002, 13.8, 0, 0, 86); CreateObject(3172, 2967.80005, -1998.09998, 13.8, 0, 0, 176); CreateObject(987, 3029.69922, -1999.69922, 13.8, 0, 0, 85.995); CreateObject(987, 3029.69922, -1999.69922, 13.8, 0, 0, 85.995); CreateObject(987, 3029.69922, -1999.69922, 13.8, 0, 0, 85.995); CreateObject(987, 3030.6001, -1987.80005, 13.8, 0, 0, 88); CreateObject(987, 3031, -1976.09998, 13.8, 0, 0, 86); CreateObject(987, 3031.8999, -1964.30005, 13.8, 0, 0, 86); CreateObject(987, 3032.80005, -1952.69995, 13.8, 0, 0, 176); CreateObject(987, 3021.19995, -1951.90002, 13.8, 0, 0, 176); CreateObject(987, 3003.3999, -1950.5, 13.8, 0, 0, 176); CreateObject(987, 3009.30005, -1951, 13.8, 0, 0, 175.995); CreateObject(987, 2991.30005, -1948.69995, 13.8, 0, 0, 266); CreateObject(987, 2968.30005, -1958.09998, 13.8, 0, 0, 356); CreateObject(987, 2978.6001, -1959.19995, 13.8, 0, 0, 356); CreateObject(11505, 2962.80005, -1985.90002, 18, 0, 0, 356); CreateObject(8841, 3009.59961, -1957.7998, 17.1, 0, 0, 355.995); CreateObject(1344, 3002.30005, -1987.5, 14.6, 0, 0, 270); CreateObject(1344, 3002.1001, -2002.80005, 14.6, 0, 0, 270); CreateObject(1344, 2956.80005, -1973.69995, 14.6, 0, 0, 42); CreateObject(1344, 2976.6001, -1993.09998, 14.6, 0, 0, 266); CreateObject(1420, 3007.3999, -1988.09998, 16, 0, 0, 0); CreateObject(1420, 3006.7998, -1988.09961, 19.1, 0, 0, 0); CreateObject(1420, 2959, -1968.69995, 15.5, 0, 0, 0); CreateObject(3174, 2975.80005, -1997.80005, 13.8, 0, 0, 356); CreateObject(1344, 2978.5, -1975.89941, 14.6, 0, 0, 357.995); CreateObject(655, 3025.19995, -1975.40002, 13.8, 0, 0, 0); CreateObject(655, 2989.09961, -1973.09961, 13.8, 0, 0, 0);SetGameModeText(\"Blank Script\");AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);return 1;}public OnGameModeExit(){return 1;}public OnPlayerConnect(playerid){SendClientMessage(playerid,COLOR_KEK,\"A szerveren megtalálható havasi2001 által készített lakópark(/havasilakopark)\");return 1;}public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(\"/havasilakopark\", cmdtext, true, 10) == 0){SetPlayerPos(playerid,2948,-1986,15);SendClientMessageToAll(COLOR_KEK,\"%s elteleportált a Havasi Lakóparkra!(/havasilakopark)\");ShowPlayerDialog(playerid,DIALOG_HAVASILAKO,DIALOG_STYLE_MSGBOX,\"Havasi Lakópark\",\"{0037ff}A lakóparknak komoly szabályai vannak!\\n{0037ff}1. szabály: Hackerek a lakóparkban nem vehetnek házat!\\n{0037ff}2. szabály: Az autóddal a parkolóban parkolj le!\\n{0037ff}3.szabály: Tarts be az összes szabályt!\",\"Értem\");return 1;}return 0;}
Õõõõ biztos... ::|Nem valami összetett, de nem néz ki rosszul. De szerintem ez nem lakópark, de javíts ki, ha tévedek.
Hát inkább mini lakópark szép is meg jó is de ezért még nem jár scriptKövetkezõ mappod ez legyen:Megtabultam használni a map editort és elhoztam 1 teszt mappot tehát van mit gyakorolni
SendClientMessageToAll(COLOR_KEK,\"%s elteleportált.....\",PlayerName); PlayerName(playerid){ new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, 24); retrun name;}
Gratula