#include #define COLOR_GREEN 0x2deb07AA#define SARGASZOLD_COLOR 0xbed41aAA#if defined FILTERSCRIPTpublic OnFilterScriptInit(){print(\"\\n--------------------------------------\");print(\"-----------------AcErBiS----------------\");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){ SendClientMessage(playerid, SARGASZOLD_COLOR,\" Üdvözöllek a szerveren!\");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[]){ new estr[128];format( estr , 128 , \"[%i]%s\" , playerid , text );SendPlayerMessageToAll( playerid , estr );return 0;}public OnPlayerCommandText(playerid, cmdtext[]){ if (strcmp(\"/md\", cmdtext, true) == 0) {SetPlayerPos(playerid, 1245.7649,-767.5915,91.9814);SendClientMessage(playerid, COLOR_GREEN,\" Elteleportátál MadDog házához!\");}if (strcmp(cmdtext, \"/beach\", true)==0) { SetPlayerPos(playerid, 333.6431,-1799.6757,4.6787); SendClientMessage(playerid, COLOR_GREEN,\" Elteleportáltál a Tengerpartra!\"); } if (strcmp(cmdtext, \"/hotel\", true)==0) { SetPlayerPos(playerid, 333.0550,-1520.7181,35.8672); SendClientMessage(playerid, COLOR_GREEN,\" Elteleportáltál a hotelhez!\"); } if (strcmp(cmdtext, \"/office\", true)==0) { SetPlayerPos(playerid, 1587.2412,-1319.8060,17.5531); SendClientMessage(playerid, COLOR_GREEN,\" Elteleportáltál a Csillag torony iroda házhoz!\"); } if (strcmp(cmdtext, \"/hospital\", true)==0) { SetPlayerPos(playerid, 1179.4340,-1323.2999,14.1692); SendClientMessage(playerid, COLOR_GREEN,\"Elteleportáltál a Los Santos-i kórházhoz!\"); } if (strcmp(cmdtext, \"/ls\", true)==0) { SetPlayerPos(playerid, 2493.6084,-1666.8219,13.3438); SendClientMessage(playerid, COLOR_GREEN,\" Elteleportáltál Los Santos-ba!\"); } if (strcmp(cmdtext, \"/lsair\", true)==0) { SetPlayerPos(playerid, 1958.6237,-2281.5264,13.5469); SendClientMessage(playerid, COLOR_GREEN,\" Elteleportáltál a Los Santosi repülõ térre!\"); } if (strcmp(cmdtext, \"/di\", true)==0) { SetPlayerPos(playerid, 663.4951,-474.9997,16.3359); SendClientMessage(playerid, COLOR_GREEN,\" Elteleportáltál Dillimore-ba!\"); } if (strcmp(cmdtext, \"/bb\", true)==0) { SetPlayerPos(playerid, 222.1562,-147.2716,1.5781); SendClientMessage(playerid, COLOR_GREEN,\"Elteleportáltál Blue Berry-be!\"); } if (strcmp(\"/farm\", cmdtext, true, 10) == 0){SetPlayerPos(playerid, -28.0168,163.8326,2.4297);SendClientMessage(playerid, COLOR_GREEN,\" Elteleportátál a farmra!\");} if (strcmp(cmdtext, \"/ap\", true)==0) { SetPlayerPos(playerid, -2128.5015,-2476.7041,30.6250); SendClientMessage(playerid, COLOR_GREEN,\" Elteleportáltál a Angel Pine-ba!\"); } if (strcmp(cmdtext, \"/sf\", true)==0) { SetPlayerPos(playerid, -1980.5435,288.5996,35.1719); SendClientMessage(playerid, COLOR_GREEN,\" Elteleportáltál San Fierro-ba!\"); } if (strcmp(cmdtext, \"/otto\", true)==0) { SetPlayerPos(playerid, -1636.5010,1201.4108,7.2012); SendClientMessage(playerid, COLOR_GREEN,\" Elteleportáltál az Otto Car autókereskedéshez!\"); } if (strcmp(cmdtext, \"/jizzy\", true)==0) { SetPlayerPos(playerid, -2626.3384,1393.3307,7.1016); SendClientMessage(playerid, COLOR_GREEN,\"Elteleportáltál Jizzy-be!\"); } if (strcmp(cmdtext, \"/sfair\", true)==0) { SetPlayerPos(playerid, -1347.6328,-227.9279,14.1440); SendClientMessage(playerid, COLOR_GREEN,\" Elteleportáltál a San Fierro-i repülõtérre!\"); } if (strcmp(cmdtext, \"/bs\", true)==0) { SetPlayerPos(playerid, -2270.6243,2350.5002,4.8202); SendClientMessage(playerid, COLOR_GREEN,\" Elteleportáltál a Bs-be a Kikötõ falucskához!\"); } if (strcmp(cmdtext, \"/eq\", true)==0) { SetPlayerPos(playerid, -1515.2869,2538.0667,55.6875); SendClientMessage(playerid, COLOR_GREEN,\" Elteleportáltál Ecquador-ba!\"); } if (strcmp(cmdtext, \"/tanya\", true)==0) { SetPlayerPos(playerid, -227.3862,2707.9468,62.6875); SendClientMessage(playerid, COLOR_GREEN,\"Elteleportáltál a sivatag melletti kis tanyához!\"); } if (strcmp(cmdtext, \"/sivatag\", true)==0) { SetPlayerPos(playerid, 429.2568,2506.3677,16.4844); SendClientMessage(playerid, COLOR_GREEN,\" Elteleportáltál a Sivatagba!\"); } if (strcmp(cmdtext, \"/lvair\", true)==0) { SetPlayerPos(playerid, 1332.0350,1314.2489,10.8203); SendClientMessage(playerid, COLOR_GREEN,\" Elteleportáltál a Las Venturas-i raptérre!\"); } if (strcmp(cmdtext, \"/lv\", true)==0) { SetPlayerPos(playerid, 2036.9653,1343.5422,10.8203); SendClientMessage(playerid, COLOR_GREEN,\"Elteleportáltál Las Venturas-ba!\");}if (strcmp(cmdtext, \"/ch\", true)==0){SetPlayerPos(playerid, -2327.3333,-1651.1989,483.7031); SendClientMessage(playerid, COLOR_GREEN,\"Elteleportáltál a Chilliad hegytetõre!\");}}
public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(\"/md\", cmdtext, true) == 0){if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER){ SetPlayerPos(playerid, 1245.7649,-767.5915,91.9814);}else{ new id = GetPlayerVehicleID(playerid); SetVehiclePos(id,1245.7649,-767.5915,91.9814); PutPlayerInVehicle(playerid,id,0);}SendClientMessage(playerid, COLOR_GREEN,\" Elteleportátál MadDog házához!\");return 1; }}