public OnPlayerSpawn( playerid ){ SetPlayerCheckpoint( playerid, 2719.8623,-237.4609,29.2177, 3.0 ); return 1;}public OnPlayerEnterCheckpoint( playerid ){ GivePlayerMoney( playerid, 200 ); DisablePlayerCheckpoint( playerid ); SendClientMessage(playerid,0xD32841FF, \"Amiért megtaláltad a CP-t kapsz 200$-t.\"); return 1;}
Ugyan azok a kordináták.
#include <a_samp>#define Rendorok 0#define Terroristak 1main(){print(\"\\n----------------------------------\");print(\" Egyiptan\'s GM\");print(\"----------------------------------\\n\");}public OnGameModeInit(){SetGameModeText(\"Egyiptan\'s mod\");AddPlayerClass(286,1561.1564,-1627.8285,13.3828,83.0678,0,0,0,0,0,0); // rendorAddPlayerClass(123,2771.9797,-2417.0337,13.6451,92.9497,0,0,0,0,0,0); // terroristakAddStaticVehicle(596,1548.1588,-1627.2479,13.0932,2.3023,0,1); // lspd carAddStaticVehicle(596,1547.9569,-1633.8353,13.1594,181.1879,0,1); // lspd carAddStaticVehicle(596,1548.2909,-1621.2535,13.2496,176.9157,0,1); // lspd carAddStaticVehicle(596,1582.1404,-1628.8287,13.1044,0.0002,0,1); // lspd carAddStaticVehicle(596,1584.1848,-1622.0623,13.1056,326.0259,0,1); // lspd carAddStaticVehicle(596,1535.6637,-1606.0280,13.1865,270.7560,0,1); // lspd carAddStaticVehicle(596,1528.4849,-1605.7335,13.1075,88.4125,0,1); // lspd carAddStaticVehicle(596,1522.0618,-1605.4559,13.2564,270.4692,0,1); // lspd carAddStaticVehicle(596,1540.8191,-1670.8108,13.2605,104.5192,0,1); // lspd carAddStaticVehicle(596,1537.9512,-1676.6938,13.1777,359.5093,0,1); // lspd carAddStaticVehicle(596,1539.5541,-1685.1589,13.2702,55.9674,0,1); // lspd carAddStaticVehicle(596,1519.4205,-1715.2207,13.2681,359.9646,0,1); // lspd carAddStaticVehicle(596,1521.2629,-1720.8872,13.2686,66.2698,0,1); // lspd carAddStaticVehicle(596,1527.3170,-1722.3514,13.0623,269.1352,0,1); // lspd carAddStaticVehicle(596,1533.7129,-1722.3041,13.1876,270.5034,0,1); // lspd carAddStaticVehicle(596,1540.0161,-1718.9124,13.2729,316.2413,0,1); // lspd carAddStaticVehicle(523,1524.5283,-1699.9662,13.0887,1.4228,0,0); // lspd carAddStaticVehicle(523,1524.5864,-1706.8879,13.0384,357.0183,0,0); // lspd carAddStaticVehicle(523,1524.5433,-1617.9962,13.1090,0.1232,0,0); // lspd carAddStaticVehicle(523,1524.3389,-1630.4476,13.1130,0.0029,0,0); // lspd carAddStaticVehicle(596,1539.9425,-1643.8997,5.6139,321.8509,0,1); // lspd carAddStaticVehicle(596,1533.6924,-1649.2837,5.6120,297.0216,0,1); // lspd carAddStaticVehicle(596,1592.8420,-1668.3065,5.5898,93.3464,0,1); // lspd carAddStaticVehicle(596,1601.1416,-1668.0210,5.6077,91.2584,0,1); // lspd carAddStaticVehicle(596,2382.7705,-2174.8096,22.8181,135.3949,0,1); // lspd carAddStaticVehicle(596,2377.5049,-2179.9524,22.8120,136.4816,0,1); // lspd carAddStaticVehicle(580,2731.9468,-2399.6680,13.3411,88.9147,81,81); // lspd carAddStaticVehicle(560,2751.3259,-2428.0095,13.3573,0.0536,9,39); // lspd carAddStaticVehicle(550,2755.6321,-2443.2827,13.3606,359.9627,42,42); // lspd carAddStaticVehicle(440,2779.5037,-2411.1907,13.7490,0.9368,32,32); // lspd carAddStaticVehicle(440,2777.4722,-2424.4829,13.7543,181.0860,20,20); // lspd carAddStaticVehicle(440,2778.2085,-2463.2686,13.7585,180.5154,66,66); // lspd carAddStaticVehicle(440,2779.7244,-2449.7927,13.7482,178.4644,110,110); // lspd carAddStaticVehicle(530,2765.9358,-2389.1169,13.3984,357.2248,111,1); // lspd car AddStaticVehicle(469,2786.0403,-2378.5330,18.9330,2.1722,1,3); // lspd car AddStaticVehicle(469,2747.8071,-2453.9700,16.6610,90.4485,1,3); // lspd car AddStaticVehicle(497,1482.5706,-1613.5280,14.2393,0.1120,0,1); // lspd carreturn 1;}public OnGameModeExit(){return 1;}public OnPlayerRequestClass(playerid, classid){switch (classid){ case 0: { GameTextForPlayer(playerid, \"~b~Rendor!\", 1000, 5); SetPlayerColor(playerid, 0x2641FEAA);} case 1: { GameTextForPlayer(playerid, \"~r~!Terroristak!\", 1000, 5); SetPlayerColor(playerid, 0xAA3333AA); }}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){ if(gTeam[playerid] == TEAM_Rendorok) { SetPlayerColor(playerid,COLOR_BLUE); GivePlayerWeapon(playerid,29,1000); GivePlayerWeapon(playerid,31,1000); GivePlayerWeapon(playerid,23,1000); } else if(gTeam[playerid] == TEAM_TERRORISTAK) { SetPlayerColor(playerid,COLOR_RED); GivePlayerWeapon(playerid,27,1000); GivePlayerWeapon(playerid,30,1000); GivePlayerWeapon(playerid,24,1000); } return 1;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 OnPlayerText(playerid,text[]){ new string[128], pname[MAX_PLAYER_NAME], tmpcolour; if(text[0] == \'!\') { switch(gTeam[playerid]) { case TEAM_RENDOR: tmpcolour = COLOR_BLUE; case TEAM_TERRORISTÁK: tmpcolour = COLOR_RED; return 0; } GetPlayerName(playerid,pname,sizeof(pname)); format(string,256,\"[TEAMCHAT] %s: %s\",pname,text[1]); for(new i; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(gTeam[playerid] == gTeam) { SendClientMessage(i,tmpcolour,string); } } } return 0; } return 1;}public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(cmdtext, \"/myteam\", true)==0) { if(gTeam[playerid] == TEAM_RENDOROK) { SendClientMessage(playerid, 0xFFFF00AA, \"Te a Rendor csapatban vagy!\"); } else { SendClientMessage(playerid, 0xFFFF00AA, \"Te nem a rendor csapatban vagy!\"); } return 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){ GivePlayerMoney( playerid, 200 ); DisablePlayerCheckpoint( playerid ); SendClientMessage(playerid,0xD32841FF, \"Amiért megtaláltad a CP-t kapsz 200$-t.\");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 OnPlayerSpawn(playerid){ if(gTeam[playerid] == TEAM_Rendorok) { SetPlayerColor(playerid,COLOR_BLUE); GivePlayerWeapon(playerid,29,1000); GivePlayerWeapon(playerid,31,1000); GivePlayerWeapon(playerid,23,1000); } else if(gTeam[playerid] == TEAM_TERRORISTAK) { SetPlayerColor(playerid,COLOR_RED); GivePlayerWeapon(playerid,27,1000); GivePlayerWeapon(playerid,30,1000); GivePlayerWeapon(playerid,24,1000); } return 1;return 1;}
public OnPlayerText(playerid, text[]){return 1;