#include <a_samp>// Színek#define COLOR_DARKORANGE 0xFF7318FF#define COLOR_SYSTEM 0xEFEFF7AA#define COLOR_BLUE 0x0000FFAA#define COLOR_GREY 0xAFAFAFAA#define COLOR_GREEN 0x33AA33AA#define COLOR_YELLOW 0xFFFF00AA#define COLOR_WHITE 0xFFFFFFAA#define COLOR_WITHE 0xFFFFFFAA#define COLOR_PURPLE 0x9900FFAA#define COLOR_BROWN 0x993300AA#define COLOR_ORANGE 0xFF9933AA#define COLOR_CYAN 0x99FFFFAA#define COLOR_TAN 0xFFFFCCAA#define COLOR_PINK 0xFF66FFAA#define COLOR_KHAKI 0x999900AA#define COLOR_LIME 0x99FF00AA#define COLOR_BLACK 0x000000AA#define COLOR_TURQ 0x00A3C0AA#define COLOR_LIGHTBLUE 0x00BFFFAA#define COLOR_GREENISHGOLD 0xCCFFDD56#define COLOR_LIGHTBLUEGREEN 0x0FFDD349#define COLOR_NEUTRALBLUE 0xABCDEF01#define COLOR_LIGHTCYAN 0xAAFFCC33#define COLOR_LEMON 0xDDDD2357#define COLOR_AQUA 0x7CFC00AA#define COLOR_WHITEYELLOW 0xFFE87DAA#define COLOR_BLUEAQUA 0x7E60FFAA#define COLOR_GREENYELLOWWHITE 0xCBFF45AA#define COLOR_DARKBLUE 0x15005EAA#define COLOR_RED 0xAA3333AA#define COLOR_ULTRARED 0xFF0606FF#define COLOR_WARNING 0xFB0000FF#define COLOR_VIOLET 0x8F698FFF#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(){// Don\'t use these lines if it\'s a filterscriptSetGameModeText(\"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 OnPlayerRequestClass(playerid, classid){SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);return 1;}public OnPlayerConnect(playerid){return 1;}public OnPlayerDisconnect(playerid, reason){return 1;}public OnPlayerSpawn(playerid){return 1;}public OnPlayerDeath(playerid, killerid, reason){return 1;}public OnVehicleSpawn(vehicleid){return 1;}public OnVehicleDeath(vehicleid, killerid){return 1;}public OnPlayerText(playerid, text[]){return 1;}public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(\"/tele-lv\", cmdtext, true, 10) == 0){SendClientMessage(playerid, COLOR_GREEN, \"Elteleportáltál Las Venturas(LV)-be, sok sikert kívánunk!\");SetPlayerPos(playerid,2005.5066,1544.8556,13.5821); // LVTeleport}return 0;}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;}
if(!strcmp(\"/tele-lv\",cmdtext,true)){new str[84];GetPlayerName(playerid,str,sizeof(str));format(str,sizeof(str),\"%s elteleportáltál Las Venturas(LV)-be, sok sikert kívánunk!\",str);SendClientMessage(playerid, COLOR_GREEN,str);SetPlayerPos(playerid,2005.5066,1544.8556,13.5821); // LVTeleportreturn 1;}
if (strcmp(\"/tele-lv\", cmdtext, true, 10) == 0) { new name[MAX_PLAYER_NAME]; new string[128]; GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), \"%s elteleportált Las Venturasba(LV), sok sikert kívánunk!\", name); SendClientMessageToAll(COLOR_GREEN); SendClientMessage(playerid, COLOR_GREEN, \"Elteleportáltál Las Venturas(LV)-be, sok sikert kívánunk!\"); SetPlayerPos(playerid,2005.5066,1544.8556,13.5821); // LVTeleport return 1; }return 0;
new string[128];