AddPlayerClass(115,-308.8522,1538.1284,75.5625,132.5604,0,0,0,0,0,0); //na szóval itt a végén a sok 0-a az elso 0-a mindig a fegyver típusaának az ID je a 2. 0 az pedig a golyó szám szóval pl:AddPlayerClass(115,-308.8522,1538.1284,75.5625,132.5604,28,9999,31,9999,27,9999); //
AddStaticVehicle(557,1581.2454,-1009.5756,24.2812,186.1718,1,1); //
// A módot Blade írta// Ez egy alap mod//Használjátok egézséggel!#include <a_samp>#include <core>#include <float>#pragma tabsize 0 #elsemain(){print(\"\\n----------------------------------\");print(\" Next Generation FreeRoam/Stunt/Drift MOD create by: Blade\");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(\"/mycommand\", cmdtext, true, 10) == 0){// Do something herereturn 1;}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;}
public OnPlayerCommandText(playerid, cmdtext[]){ if(strcmp(cmdtext, \"/szabalyzat\", true) == 0) {SendClientMessage(playerid, COLOR_YELLOW, \"Szabályzat.\"); return 1;}if(strcmp(cmdtext, \"/tele\", true) == 0) {SendClientMessage(playerid, COLOR_ORANGE, \"Teleportok\"); return 1;}if(strcmp(cmdtext, \"/hirek\", true) == 0) {SendClientMessage(playerid, COLOR_YELLOW, \"Hírek.\"); return 1;} if(strcmp(cmdtext, \"/teleport-8\", true) == 0) if (IsPlayerInAnyVehicle(playerid)) { SetVehiclePos(GetPlayerVehicleID(playerid),-1966.4812,286.5462,35.4688); SendClientMessage(playerid, 0xFFFF00AA, \"Elteleportáltál.\"); } else { SetPlayerPos(playerid,-1966.4812,286.5462,35.4688); SendClientMessage(playerid, 0xFFFF00AA, \"Elteleportáltál.\"); return 1;}if(strcmp(cmdtext, \"/teleport-9\", true) == 0) if (IsPlayerInAnyVehicle(playerid)) { SetVehiclePos(GetPlayerVehicleID(playerid),2779.6001,-2010.7078,13.5547); SendClientMessage(playerid, 0xFFFF00AA, \"Elteleportáltál.\"); } else { SetPlayerPos(playerid,2779.6001,-2010.7078,13.5547); SendClientMessage(playerid, 0xFFFF00AA, \"Elteleportáltál.\"); return 1;}if(strcmp(cmdtext, \"/teleport-10 \", true) == 0) if (IsPlayerInAnyVehicle(playerid)) { SetVehiclePos(GetPlayerVehicleID(playerid),2086.2725,1451.7513,10.8203); SendClientMessage(playerid, 0xFFFF00AA, \"Elteleportáltál.\"); } else { SetPlayerPos(playerid,2086.2725,1451.7513,10.8203); SendClientMessage(playerid, 0xFFFF00AA, \"Elteleportáltál.\"); return 1;}if(strcmp(cmdtext, \"/teleport-11\", true) == 0) if (IsPlayerInAnyVehicle(playerid)) { SetVehiclePos(GetPlayerVehicleID(playerid),1319.6537,1271.3518,10.9766); SendClientMessage(playerid, 0xFFFF00AA, \"Elteleportáltál.\"); } else { SetPlayerPos(playerid,1319.6537,1271.3518,10.9766); SendClientMessage(playerid, 0xFFFF00AA, \"Elteleportáltál.\"); return 1;}if(strcmp(cmdtext, \"/teleport-4\", true) == 0) if (IsPlayerInAnyVehicle(playerid)) { SetVehiclePos(GetPlayerVehicleID(playerid),2125.1187,-2575.6182,13.5469); SendClientMessage(playerid, 0xFFFF00AA, \"Elteleportáltál.\"); } else { SetPlayerPos(playerid,2125.1187,-2575.6182,13.5469); SendClientMessage(playerid, 0xFFFF00AA, \"Elteleportáltál.\"); return 1;}if(strcmp(cmdtext, \"/teleport-7\", true) == 0) if (IsPlayerInAnyVehicle(playerid)) { SetVehiclePos(GetPlayerVehicleID(playerid),-1260.1700,32.2346,14.1484); SendClientMessage(playerid, 0xFFFF00AA, \"Elteleportáltál.\"); } else { SetPlayerPos(playerid,-1260.1700,32.2346,14.1484); SendClientMessage(playerid, 0xFFFF00AA, \"Elteleportáltál.\"); return 1;}if(strcmp(cmdtext, \"/teleport-2\", true) == 0) if (IsPlayerInAnyVehicle(playerid)) { SetVehiclePos(GetPlayerVehicleID(playerid),-2623.8284,1391.2129,7.1016); SendClientMessage(playerid, 0xFFFF00AA, \"Elteleportáltál.\"); } else { SetPlayerPos(playerid,-2623.8284,1391.2129,7.1016); SendClientMessage(playerid, 0xFFFF00AA, \"Elteleportáltál.\"); return 1;}if(strcmp(cmdtext, \"/teleport\", true) == 0) if (IsPlayerInAnyVehicle(playerid)) { SetVehiclePos(GetPlayerVehicleID(playerid),364.9238,2534.4233,16.6669); SendClientMessage(playerid, 0xFFFF00AA, \"Elteleportáltál.\"); } else { SetPlayerPos(playerid,364.9238,2534.4233,16.6669); SendClientMessage(playerid, 0xFFFF00AA, \"Elteleportáltál.\"); return 1;} if(strcmp(cmdtext, \"/teleport-1\", true) == 0) if (IsPlayerInAnyVehicle(playerid)) { SetVehiclePos(GetPlayerVehicleID(playerid),2155.5559,938.9199,10.8203); SendClientMessage(playerid, 0xFFFF00AA, \"Elteleportáltál.\"); } else { SetPlayerPos(playerid,2155.5559,938.9199,10.8203); SendClientMessage(playerid, 0xFFFF00AA, \"Elteleportáltál.\"); return 1;} if(strcmp(cmdtext, \"/teleport-2\", true) == 0) if (IsPlayerInAnyVehicle(playerid)) { SetVehiclePos(GetPlayerVehicleID(playerid),2595.7607,-1814.9316,5.1643); SendClientMessage(playerid, 0xFFFF00AA, \"Elteleportáltál.\"); } else { SetPlayerPos(playerid,2595.7607,-1814.9316,5.1643); SendClientMessage(playerid, 0xFFFF00AA, \"Elteleportáltál.\"); return 1;}return 0;}