#include <a_samp>//team\'s#define Groove 0#define Aztec 1//colors#define GREEN 0x33AA33AA#define RED 0xAA3333AA#define PINK 0xFF66FFAA#define BLUE 0x0000BBAA#define LIGHTBLUE 0x33CCFFAA#define ORANGE 0xFF9900AA#define YELLOW 0xFFFF00AA#define PURPLE 0x330066AA#define GREY 0xCCCCCAA#define SKIN 0xE7FA87AA#define DARKGREY 0x333333AA#define DARKRED 0x990000AA#define INDIGO 0x4B00B0AA#define BRIGHTRED 0xDC143CAA#define AQUA 0x7CFC00AA#define SYSTEM 0xEFEFF7AA#define DARKYELLOW 0x998500AAmain(){print(\"\\n----------------------------------\");print(\" Banda háborúk\");print(\"----------------------------------\\n\");}public OnGameModeInit(){//----------------Groove Utca -----------------//SetGameModeText(\"Harcolj a többi banda ellen.\");AddPlayerClassEx(Groove,269,2459.6326,-1691.4823,13.5430,353.1945,0,0,0,0,0,0); // groveAddPlayerClassEx(Groove,270,2495.2839,-1687.8315,13.5161,358.2079,0,0,0,0,0,0); // groveAddPlayerClassEx(Groove,271,2523.1787,-1679.4958,15.4970,50.5350,0,0,0,0,0,0); // groveAddPlayerClassEx(Groove,105,2524.4373,-1658.7213,15.4935,90.6421,0,0,0,0,0,0); // groveAddPlayerClassEx(Groove,106,2513.6128,-1650.7202,14.3557,149.8626,0,0,0,0,0,0); // groveAddPlayerClassEx(Groove,107,2497.9727,-1642.7377,13.7826,180.2563,0,0,0,0,0,0); // grove//-------------Latin banda-------------//AddPlayerClassEx(Aztec,114,1898.8817,-2038.3970,13.5469,93.1488,0,0,0,0,0,0); //AddPlayerClassEx(Aztec,115,1868.4628,-2038.0487,13.5469,269.5571,0,0,0,0,0,0); //AddPlayerClassEx(Aztec,116,1895.3091,-2021.7439,13.5469,61.5252,0,0,0,0,0,0); //AddPlayerClassEx(Aztec,173,1871.1951,-2021.5029,13.5469,299.9742,0,0,0,0,0,0); //AddPlayerClassEx(Aztec,174,1868.0042,-2004.1940,13.5469,184.0632,0,0,0,0,0,0); //AddPlayerClassEx(Aztec,175,1888.5853,-2000.7222,13.5469,71.2855,0,0,0,0,0,0); // return 1;}public OnGameModeExit(){return 1;}public OnPlayerRequestClass(playerid, classid){//-------------------------------Workerif(classid == 0){SetPlayerInterior(playerid,0);SetPlayerPos(playerid, -2109.7576,184.2289,35.1503);SetPlayerFacingAngle(playerid,160.3343);SetPlayerCameraPos(playerid, -2108.96,175.01,36.31);SetPlayerCameraLookAt(playerid, -2109.7576,184.2289,35.1503);SetPlayerColor(playerid,ORANGE);GameTextForPlayer(playerid,\"Groove Street Nigga\",6000,5);} else if(classid == 1){SetPlayerInterior(playerid,0);SetPlayerPos(playerid, 1882.8966,-2025.8273,13.3906);SetPlayerFacingAngle(playerid,160.3343);SetPlayerCameraPos(playerid, 1883.4141,-2040.9121,13.3906);SetPlayerCameraLookAt(playerid, 1882.8966,-2025.8273,13.3906);SetPlayerColor(playerid,ORANGE);GameTextForPlayer(playerid,\"Surenos gangsta\",7000,5);}return 1;}public OnPlayerConnect(playerid){return 1;}public OnPlayerDisconnect(playerid, reason){return 1;}public OnPlayerSpawn(playerid){return 1;}public OnPlayerDeath(playerid, killerid, reason){SendDeathMessage(playerid,killerid,reason);if(GetPlayerTeam(killerid)== GetPlayerTeam(playerid)){SendClientMessage(killerid,RED,\"you killed a Teammate,you lost 1000 & and a point\");SendClientMessage(playerid,RED,\"you are killed a Teammate,you will not lose money\");GivePlayerMoney(killerid,-1000);SetPlayerScore(killerid,GetPlayerScore(killerid)-1);}else{GameTextForPlayer(playerid,\"You Got OWNED\",6000,5);GameTextForPlayer(playerid,\"Great Shot\",6000,5);SetPlayerScore(killerid,GetPlayerScore(killerid)+1);GivePlayerMoney(playerid,1000);}return 1;}public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(\"/credits\", cmdtext, true, 10) == 0){SendClientMessage(playerid,SYSTEM,\"______________________________________________\");SendClientMessage(playerid,SYSTEM,\"Headscripter:[sWA]BurningSWA\");SendClientMessage(playerid,SYSTEM,\"Vehicles:[sWA]NitroSWA\");SendClientMessage(playerid,SYSTEM,\"Based on:original SFTDM\");SendClientMessage(playerid,SYSTEM,\"______________________________________________\");return 1;}if (strcmp(\"/help\", cmdtext, true, 10) == 0){SendClientMessage(playerid,SYSTEM,\"______________________________________________\");SendClientMessage(playerid,SYSTEM,\"you have to kill people to get money and score\");SendClientMessage(playerid,SYSTEM,\"do not kill youre teammates,if you do that you will be punist\");SendClientMessage(playerid,SYSTEM,\"/cmds for the commands\");SendClientMessage(playerid,SYSTEM,\"/credits for the credits\");SendClientMessage(playerid,SYSTEM,\"______________________________________________\");return 1;}if (strcmp(\"/cmds\", cmdtext, true, 10) == 0){SendClientMessage(playerid,SYSTEM,\"______________________________________________\");SendClientMessage(playerid,SYSTEM,\"/kill to kill youreself\");SendClientMessage(playerid,SYSTEM,\"/help to get the server information\");SendClientMessage(playerid,SYSTEM,\"______________________________________________\");return 1;}if (strcmp(\"/kill\", cmdtext, true, 10) == 0){SendClientMessage(playerid,SYSTEM,\"you killed youreself\");SetPlayerHealth(playerid,-1);SetPlayerScore(playerid,GetPlayerScore(playerid)-1);return 1;}return 0;}
Szóval elkezdtem csinálni egy új modot.Volt egy TDM mod amiben volt egy csomo kocsi meg team.Na mind kiszedtem.
public OnPlayerDeath(playerid, killerid, reason){SendDeathMessage(playerid,killerid,reason);if(GetPlayerTeam(killerid)== GetPlayerTeam(playerid)){SendClientMessage(killerid,RED,\"you killed a Teammate,you lost 1000 & and a point\");SendClientMessage(playerid,RED,\"you are killed a Teammate,you will not lose money\");GivePlayerMoney(killerid,-1000);SetPlayerScore(killerid,GetPlayerScore(killerid)-1);}else{GameTextForPlayer(playerid,\"You Got OWNED\",6000,5);GameTextForPlayer(playerid,\"Great Shot\",6000,5);SetPlayerScore(killerid,GetPlayerScore(killerid)+1);GivePlayerMoney(playerid,1000);}return 1;} [/quote]amúgy meg, képzeldd el, a mód írása nem azt jelenti, hogy angol verziót átfordítod magyarra, mert ez fordítás.Az elején láttam magyar szöveget, hogy Banda háborúk, de aztán semmi mást
Szóval elkezdtem csinálni egy új modot.Volt egy TDM mod amiben volt egy csomo kocsi meg team.Na mind kiszedtem. Ha kezdtél egy új modotÉs kiszetem a felét egy másikbólakkor az rég nem a tiéd xD [/quote]Ezt írtam le kedves Mambo..
EzvanNemteccik, akkor bekaphatod xD
public OnGameModeInit(){//----------------Groove Utca -----------------//SetGameModeText(\"Harcolj a többi banda ellen.\");AddPlayerClass(269,2459.6326,-1691.4823,13.5430,353.1945,0,0,0,0,0,0); // groveAddPlayerClass(270,2495.2839,-1687.8315,13.5161,358.2079,0,0,0,0,0,0); // groveAddPlayerClass(271,2523.1787,-1679.4958,15.4970,50.5350,0,0,0,0,0,0); // groveAddPlayerClass(105,2524.4373,-1658.7213,15.4935,90.6421,0,0,0,0,0,0); // groveAddPlayerClass(106,2513.6128,-1650.7202,14.3557,149.8626,0,0,0,0,0,0); // groveAddPlayerClass(107,2497.9727,-1642.7377,13.7826,180.2563,0,0,0,0,0,0); // grove//-------------Latin banda-------------//AddPlayerClass(114,1898.8817,-2038.3970,13.5469,93.1488,0,0,0,0,0,0); //AddPlayerClass(115,1868.4628,-2038.0487,13.5469,269.5571,0,0,0,0,0,0); //AddPlayerClass(116,1895.3091,-2021.7439,13.5469,61.5252,0,0,0,0,0,0); //AddPlayerClass(173,1871.1951,-2021.5029,13.5469,299.9742,0,0,0,0,0,0); //AddPlayerClass(174,1868.0042,-2004.1940,13.5469,184.0632,0,0,0,0,0,0); //AddPlayerClass(175,1888.5853,-2000.7222,13.5469,71.2855,0,0,0,0,0,0); // return 1;}public OnGameModeExit(){return 1;}public OnPlayerRequestClass(playerid, classid){//-------------------------------Workerif(classid >= 0 && classid <= 5){SetPlayerInterior(playerid,0);SetPlayerPos(playerid, -2109.7576,184.2289,35.1503);SetPlayerFacingAngle(playerid,160.3343);SetPlayerCameraPos(playerid, -2108.96,175.01,36.31);SetPlayerCameraLookAt(playerid, -2109.7576,184.2289,35.1503);SetPlayerColor(playerid,ORANGE);GameTextForPlayer(playerid,\"Groove Street Nigga\",6000,5);} else if(classid >= 6 && classid <= 11){SetPlayerInterior(playerid,0);SetPlayerPos(playerid, 1882.8966,-2025.8273,13.3906);SetPlayerFacingAngle(playerid,160.3343);SetPlayerCameraPos(playerid, 1883.4141,-2040.9121,13.3906);SetPlayerCameraLookAt(playerid, 1882.8966,-2025.8273,13.3906);SetPlayerColor(playerid,ORANGE);GameTextForPlayer(playerid,\"Surenos gangsta\",7000,5);}return 1;}public OnPlayerConnect(playerid){return 1;}public OnPlayerDisconnect(playerid, reason){return 1;}
AddPlayerClass(269,2459.6326,-1691.4823,13.5430,353.1945,0,0,0,0,0,0); // groveAddPlayerClass(270,2495.2839,-1687.8315,13.5161,358.2079,0,0,0,0,0,0); // grove