ExPRO |
Дата: Воскресенье, 18.05.2014, 19:29 | Сообщение # 1
|
Боец
Сообщений: 181
Статус: Offline
|
Видео: http://www.youtube.com/watch?v=sMuxXTIzCyA
К #define Код #define BYTES_PER_CELL (cellbits / 8) #define PRESSED(%0) (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0))) #define D_JOB 131 К new Код new Text:MineralTextDraw[21]; new Text:MineralCount; new Bar:MineralBar[MAX_PLAYERS]; new Pickup[1]; new MiningProgress[MAX_PLAYERS]; new Mineral[2]; В public OnGameModeInit() Код LoadTextDraws(); Pickup[0] = CreatePickup(1275, 23, 584.6293,931.9175,849.4500); CreateDynamic3DTextLabel("Сброс камней",0xFFFFFFFF, 695.5369,843.2320,-27.2055,20.0,INVALID_PLAYER_ID,INVALID_VEHICLE_ID, 1, -1, -1); CreateDynamic3DTextLabel("Сброс камней",0xFFFFFFFF, 684.0453,822.3344,-27.2389,20.0,INVALID_PLAYER_ID,INVALID_VEHICLE_ID, 1, -1, -1); CreateDynamic3DTextLabel("Здесь вы можете добывать {77746f}руду\n{FFFFFF}Для начала добычи нажмите {ea911c}\"л.ALT\"",0xFFFFFFFF, 555.9859,912.4984,851.0872,20.0,INVALID_PLAYER_ID, INVALID_VEHICLE_ID,1, -1, -1); CreateDynamic3DTextLabel("Здесь вы можете добывать {77746f}руду\n{FFFFFF}Для начала добычи нажмите {ea911c}\"л.ALT\"",0xFFFFFFFF, 558.9138,900.0824,851.2289,20.0,INVALID_PLAYER_ID, INVALID_VEHICLE_ID,1, -1, -1); CreateDynamic3DTextLabel("Здесь вы можете добывать {77746f}руду\n{FFFFFF}Для начала добычи нажмите {ea911c}\"л.ALT\"",0xFFFFFFFF, 598.3822,811.5417,851.8732,20.0,INVALID_PLAYER_ID, INVALID_VEHICLE_ID,1, -1, -1); В public OnPlayerConnect(playerid) Код MineralBar[playerid] = CreateProgressBar(495.00, 226.00, 140.50, 4.19, -2072024321, 100.0);//ProgressBar В public OnPlayerDisconnect(playerid, reason) Код HideProgressBarForPlayer(playerid, VitalSatiety[playerid]); HideProgressBarForPlayer(playerid, VitalHealth[playerid]); DestroyProgressBar(VitalSatiety[playerid]); DestroyProgressBar(VitalHealth[playerid]); for(new i=0; i <= 4; i++) TextDrawHideForPlayer(playerid,Vitals[i]); В public OnPlayerDeath(playerid, killerid, reason) Код if(GetPVarInt(playerid, "Miner") > 0) { CancelSelectTextDraw(playerid); ClearAnimations(playerid); for(new j=0; j <= 20; j++) TextDrawHideForPlayer(playerid,MineralTextDraw[j]); TextDrawHideForPlayer(playerid,MineralCount); HideProgressBarForPlayer(playerid, MineralBar[playerid]); if(IsPlayerAttachedObjectSlotUsed(playerid, 3)) RemovePlayerAttachedObject(playerid, 3); if(IsPlayerAttachedObjectSlotUsed(playerid, 4)) RemovePlayerAttachedObject(playerid, 4); DeletePVar(playerid, "OldMinerSkin"); DeletePVar(playerid, "MinerKG"); DeletePVar(playerid, "Miner"); DeletePVar(playerid, "MinerCount"); DeletePVar(playerid, "MinerKG_One"); } Так как работа в интерере тп можно Код if(strcmp(cmdtext, "/gz", true) == 0) { SetPlayerPos(playerid,584.6293,931.9175,849.4500); return true; } В public OnPlayerEnterCheckpoint(playerid) Код if(GetPVarInt(playerid,"Miner") == 2) { RemovePlayerAttachedObject(playerid,4); DisablePlayerCheckpoint(playerid); TogglePlayerControllable(playerid,1); ClearAnimations(playerid); ApplyAnimation(playerid,"PED","IDLE_tired",4.1,0,1,1,0,1); SetPVarInt(playerid,"Miner", 1); SetPVarInt(playerid, "MinerKG", GetPVarInt(playerid, "MinerKG") + GetPVarInt(playerid, "MinerKG_One")); SendMes(playerid, COLOR_WHITE, "Вы принесли {33AAFF}%i{ffffff} кг руды. Всего принесено: {33AAFF}%i{ffffff} кг", GetPVarInt(playerid, "MinerKG_One"), GetPVarInt(playerid, "MinerKG")); Mineral[0] += GetPVarInt(playerid, "MinerKG_One"); new string[128];format(string, 50, "Руды на складе: {FF9900}%i{ffffff} кг", Mineral[0]); SetPlayerAttachedObject( playerid, 3, 18634, 6, 0.078222, 0.000000, 0.110844, 298.897308, 264.126861, 193.350555, 1.000000, 1.000000, 1.000000 ); return 1; } В коне мода Код stock LoadTextDraws() { MineralTextDraw[0] = TextDrawCreate(44.000000, 122.000000, " "); MineralTextDraw[1] = TextDrawCreate(356.000000, 4.000000, " "); MineralTextDraw[2] = TextDrawCreate(146.000000, 218.000000, " "); MineralTextDraw[3] = TextDrawCreate(227.000000, 86.000000, " "); MineralTextDraw[4] = TextDrawCreate(146.000000, 90.000000, " "); MineralTextDraw[5] = TextDrawCreate(227.000000, 171.000000, " "); MineralTextDraw[6] = TextDrawCreate(449.000000, 312.000000, " "); MineralTextDraw[7] = TextDrawCreate(94.000000, 253.000000, " "); MineralTextDraw[8] = TextDrawCreate(36.000000, 215.000000, " "); MineralTextDraw[9] = TextDrawCreate(207.000000, 296.000000, " "); MineralTextDraw[10] = TextDrawCreate(439.000000, 86.000000, " "); MineralTextDraw[11] = TextDrawCreate(346.000000, 291.000000, " "); MineralTextDraw[12] = TextDrawCreate(337.000000, 143.000000, " "); MineralTextDraw[13] = TextDrawCreate(289.000000, 354.000000, " "); MineralTextDraw[14] = TextDrawCreate(501.000000, 253.000000, " "); for(new i=0; i <= 14; i++) { TextDrawBackgroundColor(MineralTextDraw[i], 0); TextDrawFont(MineralTextDraw[i], 5); TextDrawLetterSize(MineralTextDraw[i], 1.730000, 7.299999); TextDrawColor(MineralTextDraw[i], -1); TextDrawSetOutline(MineralTextDraw[i], 0); TextDrawSetProportional(MineralTextDraw[i], 1); TextDrawSetShadow(MineralTextDraw[i], 0); TextDrawUseBox(MineralTextDraw[i], 1); TextDrawBoxColor(MineralTextDraw[i], 255); TextDrawTextSize(MineralTextDraw[i], 74.000000, 79.000000); TextDrawSetPreviewModel(MineralTextDraw[i], 3930); TextDrawSetPreviewRot(MineralTextDraw[i], -16.000000, 0.000000, -55.000000, 1.000000); TextDrawSetSelectable(MineralTextDraw[i], 1); } MineralTextDraw[15] = TextDrawCreate(270.000000, 126.000000, " "); MineralTextDraw[16] = TextDrawCreate(369.000000, 82.000000, " "); MineralTextDraw[17] = TextDrawCreate(426.000000, 187.000000, " "); MineralTextDraw[18] = TextDrawCreate(107.000000, 158.000000, " "); MineralTextDraw[19] = TextDrawCreate(538.000000, 128.000000, " "); for(new i=15; i <= 19; i++) { TextDrawBackgroundColor(MineralTextDraw[i], 0); TextDrawFont(MineralTextDraw[i], 5); TextDrawLetterSize(MineralTextDraw[i], 1.730000, 7.299999); TextDrawColor(MineralTextDraw[i], -1); TextDrawSetOutline(MineralTextDraw[i], 0); TextDrawSetProportional(MineralTextDraw[i], 1); TextDrawSetShadow(MineralTextDraw[i], 0); TextDrawUseBox(MineralTextDraw[i], 1); TextDrawBoxColor(MineralTextDraw[i], 255); TextDrawTextSize(MineralTextDraw[i], 74.000000, 79.000000); TextDrawSetPreviewModel(MineralTextDraw[i], 1303); TextDrawSetPreviewRot(MineralTextDraw[i], 80.000000, 0.000000, -55.000000, 1.000000); TextDrawSetSelectable(MineralTextDraw[i], 1); } MineralTextDraw[20] = TextDrawCreate(255.000000, 210.000000, " "); TextDrawBackgroundColor(MineralTextDraw[20], 0); TextDrawFont(MineralTextDraw[20], 5); TextDrawLetterSize(MineralTextDraw[20], 1.730000, 7.299999); TextDrawColor(MineralTextDraw[20], -1); TextDrawSetOutline(MineralTextDraw[20], 0); TextDrawSetProportional(MineralTextDraw[20], 1); TextDrawSetShadow(MineralTextDraw[20], 0); TextDrawUseBox(MineralTextDraw[20], 1); TextDrawBoxColor(MineralTextDraw[20], 255); TextDrawTextSize(MineralTextDraw[20], 128.000000, 130.000000); TextDrawSetPreviewModel(MineralTextDraw[20], 2936); TextDrawSetPreviewRot(MineralTextDraw[20], 80.000000, 0.000000, -55.000000, 1.000000); TextDrawSetSelectable(MineralTextDraw[20], 1);
MineralCount = TextDrawCreate(494.000000, 211.000000, "Mining progress:"); TextDrawBackgroundColor(MineralCount, -2111494657); TextDrawFont(MineralCount, 3); TextDrawLetterSize(MineralCount, 0.479999, 1.200000); TextDrawColor(MineralCount, -1); TextDrawSetOutline(MineralCount, 1); TextDrawSetProportional(MineralCount, 1); TextDrawSetSelectable(MineralCount, 0); return 1; } В public OnPlayerPickUpPickup(playerid, pickupid) Код if(pickupid == Pickup[0]) { if(GetPVarInt(playerid, "Noun") > 0) return SendClientMessage(playerid, COLOR_GREY, "Вы уже работаете на другой работе!"); if(PlayerInfo[playerid][pMember] > 0) return SendClientMessage(playerid, COLOR_GREY, "Сначало увольтесь из организации!"); if(GetPVarInt(playerid, "Miner") == 0) ShowPlayerDialog(playerid, D_JOB+61, 0, "Шахтер", "Вы хотите начать работу шахтера?", "Да", "Нет"); else ShowPlayerDialog(playerid, D_JOB+62, 0, "Шахтер", "Вы хотите завершить работу шахтера?", "Да", "Нет"); } В public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) Код if(GetPVarInt(playerid, "Miner") == 1 && PRESSED(KEY_WALK) && GetPVarInt(playerid, "Mining") == 0) { if(IsPlayerInRangeOfPoint(playerid, 3.0,555.9859,912.4984,851.08721) || IsPlayerInRangeOfPoint(playerid, 3.0,558.9138,900.0824,851.2289) || IsPlayerInRangeOfPoint(playerid, 3.0,598.3822,811.5417,851.8732)) { TextDrawShowForPlayer(playerid,MineralCount); SetProgressBarValue(MineralBar[playerid], MiningProgress[playerid]); ShowProgressBarForPlayer(playerid, MineralBar[playerid]); new r = random(sizeof(MineralTextDraw)); TextDrawShowForPlayer(playerid,MineralTextDraw[r]); SelectTextDraw(playerid, 0xFF4040AA); SetPVarInt(playerid,"Mining", 1); } } В public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) Код case D_JOB+61: { if(!response) return 1; SetPVarInt(playerid, "OldMinerSkin",GetPlayerSkin(playerid)); SetPlayerSkin(playerid, 16); SetPVarInt(playerid, "Miner", 1); SetPlayerAttachedObject( playerid, 3, 18634, 6, 0.078222, 0.000000, 0.110844, 298.897308, 264.126861, 193.350555, 1.000000, 1.000000, 1.000000 ); SendClientMessage(playerid, COLOR_BLUE, "Вы начали работу шахтера. Ищите месторождения с рудой"); return 1; } case D_JOB+62: { if(!response) return 1; SetPlayerSkin(playerid, GetPVarInt(playerid, "OldMinerSkin")); SendMes(playerid, COLOR_WHITE, "Вы закончили работу. Ваш заработок: {8d8dff}%i{ffffff} долларов",GetPVarInt(playerid, "MinerKG")*2); GiveMoney(playerid,GetPVarInt(playerid, "MinerKG")*2); if(IsPlayerAttachedObjectSlotUsed(playerid, 3)) RemovePlayerAttachedObject(playerid, 3); if(IsPlayerAttachedObjectSlotUsed(playerid, 4)) RemovePlayerAttachedObject(playerid, 4); DeletePVar(playerid, "OldMinerSkin"); DeletePVar(playerid, "MinerKG"); DeletePVar(playerid, "Miner"); DeletePVar(playerid, "MinerCount"); DeletePVar(playerid, "MinerKG_One"); return 1; } Добавлено (18.05.2014, 19:29) --------------------------------------------- К Objects // Карьер Код CreateDynamicObject(3626,639.40002441,889.40002441 ,-42.40000153,0.00000000,0.00000000,30.00000000); //object(dckwrkhut) (1) CreateDynamicObject(17029,547.00000000,965.0000000 0,-152.00000000+1000.0,0.00000000,0.00000000,199.9951 1719); //object(cunt_rockgp2_09) (1) CreateDynamicObject(16077,605.00000000,954.5000000 0,-149.19999695+1000.0,0.00000000,0.00000000,0.000000 00); //object(des_gravelpile01) (1) CreateDynamicObject(10984,543.59997559,897.7999877 9,-150.39999390+1000.0,0.00000000,0.00000000,0.000000 00); //object(rubbled01_sfs) (1) CreateDynamicObject(10984,534.40002441,928.0000000 0,-151.22999573+1000.0,0.00000000,0.00000000,0.000000 00); //object(rubbled01_sfs) (2) CreateDynamicObject(906,530.70001221,966.40002441,-109.00000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(p_rubblebig) (1) CreateDynamicObject(17029,617.89941406,965.0000000 0,-153.89999390+1000.0,0.00000000,0.00000000,199.9896 2402); //object(cunt_rockgp2_09) (1) CreateDynamicObject(906,581.09997559,963.29998779,-148.00000000+1000.0,0.00000000,90.00000000,0.00000 000); //object(p_rubblebig) (2) CreateDynamicObject(906,580.20001221,962.20001221,-145.39999390+1000.0,0.00000000,90.00000000,0.00000 000); //object(p_rubblebig) (3) CreateDynamicObject(906,582.90002441,963.29998779,-145.30000305+1000.0,0.00000000,90.00000000,0.00000 000); //object(p_rubblebig) (5) CreateDynamicObject(906,533.29998779,968.00000000,-112.09999847+1000.0,90.00000000,90.00000000,90.000 00000); //object(p_rubblebig) (6) CreateDynamicObject(901,578.00000000,965.00000000,-144.10000610+1000.0,0.00000000,345.00000000,0.0000 0000); //object(searock05) (1) CreateDynamicObject(906,568.09997559,965.59997559,-142.80000305+1000.0,0.00000000,90.00000000,0.00000 000); //object(p_rubblebig) (7) CreateDynamicObject(867,535.20001221,938.00000000,-150.69000244+1000.0,0.00000000,0.00000000,0.000000 00); //object(p_rubble04col) (1) CreateDynamicObject(906,583.09960938,961.39941406,-145.10000610+1000.0,90.00000000,90.00000000,90.000 00000); //object(p_rubblebig) (8) CreateDynamicObject(906,572.90002441,968.00000000,-141.00000000+1000.0,90.00000000,90.00000000,90.000 00000); //object(p_rubblebig) (9) CreateDynamicObject(901,589.00000000,966.00000000,-145.69999695+1000.0,0.00000000,0.00000000,0.000000 00); //object(searock05) (2) CreateDynamicObject(17030,607.59960938,930.6992187 5,-154.00000000+1000.0,0.00000000,0.00000000,149.9963 3789); //object(cunt_rockgp2_11) (1) CreateDynamicObject(751,585.40002441,890.79998779,-143.00000000+1000.0,180.00000000,0.00000000,0.0000 0000); //object(sm_scrb_column1) (1) CreateDynamicObject(749,587.00000000,893.00000000,-149.00000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(sm_scrb_column3) (1) CreateDynamicObject(744,586.50000000,891.09997559,-150.50000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(sm_scrub_rock4) (1) CreateDynamicObject(2936,549.09960938,934.09960938 ,-145.39999390+1000.0,0.00000000,0.00000000,0.000000 00); //object(kmb_rock) (1) CreateDynamicObject(10984,533.00000000,937.7999877 9,-151.22999573+1000.0,0.00000000,0.00000000,0.000000 00); //object(rubbled01_sfs) (3) CreateDynamicObject(906,590.20001221,957.90002441,-149.10000610+1000.0,0.00000000,90.00000000,0.00000 000); //object(p_rubblebig) (10) CreateDynamicObject(906,587.20001221,958.59997559,-149.00000000+1000.0,0.00000000,90.00000000,0.00000 000); //object(p_rubblebig) (12) CreateDynamicObject(17025,530.59997559,868.5999755 9,-147.89999390+1000.0,0.00000000,0.00000000,40.00000 000); //object(cunt_rockgp1_) (2) CreateDynamicObject(901,584.89941406,964.19921875,-138.39999390+1000.0,0.00000000,0.00000000,0.000000 00); //object(searock05) (3) CreateDynamicObject(901,570.09997559,961.50000000,-139.50000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(searock05) (4) CreateDynamicObject(901,575.79998779,959.29998779,-134.50000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(searock05) (5) CreateDynamicObject(901,563.20001221,956.40002441,-134.19999695+1000.0,0.00000000,0.00000000,0.000000 00); //object(searock05) (6) CreateDynamicObject(901,590.20001221,958.29998779,-135.39999390+1000.0,0.00000000,0.00000000,0.000000 00); //object(searock05) (7) CreateDynamicObject(901,584.70001221,958.40002441,-135.00000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(searock05) (8) CreateDynamicObject(901,569.40002441,955.79998779,-134.10000610+1000.0,0.00000000,0.00000000,0.000000 00); //object(searock05) (9) CreateDynamicObject(901,592.79998779,955.20001221,-134.10000610+1000.0,0.00000000,0.00000000,0.000000 00); //object(searock05) (10) CreateDynamicObject(901,552.50000000,956.59997559,-136.50000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(searock05) (11) CreateDynamicObject(17029,530.59997559,931.5999755 9,-149.89999390+1000.0,0.00000000,0.00000000,279.0000 0000); //object(cunt_rockgp2_09) (1) CreateDynamicObject(906,542.79998779,950.79998779,-147.00000000+1000.0,0.00000000,90.00000000,0.00000 000); //object(p_rubblebig) (13) CreateDynamicObject(906,544.50000000,954.40002441,-145.50000000+1000.0,0.00000000,90.00000000,0.00000 000); //object(p_rubblebig) (14) CreateDynamicObject(906,544.00000000,954.29998779,-141.00000000+1000.0,0.00000000,90.00000000,0.00000 000); //object(p_rubblebig) (15) CreateDynamicObject(906,543.09997559,951.40002441,-142.50000000+1000.0,0.00000000,90.00000000,0.00000 000); //object(p_rubblebig) (16) CreateDynamicObject(901,543.00000000,950.00000000,-135.80000305+1000.0,0.00000000,0.00000000,0.000000 00); //object(searock05) (12) CreateDynamicObject(906,544.29998779,952.50000000,-139.80000305+1000.0,90.00000000,90.00000000,90.000 00000); //object(p_rubblebig) (17) CreateDynamicObject(18364,557.19921875,894.0000000 0,-145.80000305+1000.0,0.00000000,0.00000000,0.000000 00); //object(cs_landbit_01) (1) CreateDynamicObject(18364,609.50000000,760.0000000 0,-145.80000305+1000.0,0.00000000,0.00000000,0.000000 00); //object(cs_landbit_01) (2) CreateDynamicObject(901,604.40002441,940.59997559,-135.39999390+1000.0,0.00000000,0.00000000,0.000000 00); //object(searock05) (13) CreateDynamicObject(18364,566.39941406,892.1992187 5,-144.89999390+1000.0,0.00000000,179.99450684,0.0000 0000); //object(cs_landbit_01) (3) CreateDynamicObject(17030,599.00000000,897.4000244 1,-154.00000000+1000.0,0.00000000,0.00000000,149.9963 3789); //object(cunt_rockgp2_11) (2) CreateDynamicObject(901,604.59997559,921.90002441,-139.60000610+1000.0,0.00000000,0.00000000,0.000000 00); //object(searock05) (14) CreateDynamicObject(17029,530.59997559,839.5000000 0,-150.19999695+1000.0,0.00000000,0.00000000,278.9978 0273); //object(cunt_rockgp2_09) (1) CreateDynamicObject(17029,563.79980469,831.0996093 8,-154.00000000+1000.0,0.00000000,0.00000000,39.99572 754); //object(cunt_rockgp2_09) (1) CreateDynamicObject(901,561.29998779,953.79998779,-136.89999390+1000.0,0.00000000,0.00000000,0.000000 00); //object(searock05) (15) CreateDynamicObject(17029,558.79998779,844.0000000 0,-149.50000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(cunt_rockgp2_09) (1) CreateDynamicObject(17029,549.79998779,870.0000000 0,-150.50000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(cunt_rockgp2_09) (1) CreateDynamicObject(6982,582.09960938,797.29980469 ,-148.89999390+1000.0,358.00000000,0.00000000,138.99 902344); //object(vgsntraintunnel01) (1) CreateDynamicObject(10984,551.09997559,909.4000244 1,-150.39999390+1000.0,0.00000000,0.00000000,0.000000 00); //object(rubbled01_sfs) (4) CreateDynamicObject(10984,554.39941406,897.0000000 0,-150.39999390+1000.0,0.00000000,0.00000000,0.000000 00); //object(rubbled01_sfs) (5) CreateDynamicObject(10984,547.59997559,898.2000122 1,-150.00000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(rubbled01_sfs) (6) CreateDynamicObject(901,570.90002441,956.90002441,-137.50000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(searock05) (16) CreateDynamicObject(901,541.00000000,940.20001221,-136.80000305+1000.0,0.00000000,0.00000000,0.000000 00); //object(searock05) (17) CreateDynamicObject(901,543.40002441,947.40002441,-136.39999390+1000.0,0.00000000,0.00000000,0.000000 00); //object(searock05) (18) CreateDynamicObject(901,543.90002441,945.09997559,-137.19999695+1000.0,0.00000000,0.00000000,0.000000 00); //object(searock05) (19) CreateDynamicObject(901,553.00000000,958.00000000,-137.19999695+1000.0,0.00000000,0.00000000,0.000000 00); //object(searock05) (20) CreateDynamicObject(901,591.20001221,957.09997559,-137.39999390+1000.0,0.00000000,0.00000000,0.000000 00); //object(searock05) (21) CreateDynamicObject(906,536.90002441,903.79998779,-141.19999695+1000.0,90.00000000,90.00000000,90.000 00000); //object(p_rubblebig) (18) CreateDynamicObject(17030,607.59997559,869.4000244 1,-156.30000305+1000.0,0.00000000,0.00000000,149.9963 3789); //object(cunt_rockgp2_11) (3) CreateDynamicObject(901,604.59960938,852.00000000,-143.00000000+1000.0,0.00000000,344.99267578,0.0000 0000); //object(searock05) (22) CreateDynamicObject(901,591.79998779,843.90002441,-141.89999390+1000.0,0.00000000,344.99816895,0.0000 0000); //object(searock05) (23) CreateDynamicObject(901,588.90002441,846.79998779,-144.69999695+1000.0,0.00000000,344.99816895,0.0000 0000); //object(searock05) (24) CreateDynamicObject(901,608.40002441,861.50000000,-138.80000305+1000.0,0.00000000,344.99816895,0.0000 0000); //object(searock05) (25) CreateDynamicObject(906,606.90002441,862.20001221,-142.50000000+1000.0,90.00000000,90.00000000,90.000 00000); //object(p_rubblebig) (19) CreateDynamicObject(906,596.39941406,854.29980469,-148.39999390+1000.0,90.00000000,90.00000000,90.000 00000); //object(p_rubblebig) (20) CreateDynamicObject(906,597.59997559,855.09997559,-145.10000610+1000.0,90.00000000,90.00000000,90.000 00000); //object(p_rubblebig) (21) CreateDynamicObject(906,596.29980469,854.50000000,-151.00000000+1000.0,90.00000000,90.00000000,90.000 00000); //object(p_rubblebig) (22) CreateDynamicObject(901,598.50000000,854.20001221,-139.19999695+1000.0,0.00000000,344.99816895,0.0000 0000); //object(searock05) (26) CreateDynamicObject(901,587.70001221,850.09997559,-137.60000610+1000.0,0.00000000,344.99816895,0.0000 0000); //object(searock05) (27) CreateDynamicObject(901,582.09997559,858.09997559,-140.10000610+1000.0,0.00000000,344.99816895,90.000 00000); //object(searock05) (28) CreateDynamicObject(906,591.40002441,853.29998779,-148.30000305+1000.0,0.00000000,90.00000000,0.00000 000); //object(p_rubblebig) (24) CreateDynamicObject(906,589.59997559,847.90002441,-146.69999695+1000.0,0.00000000,90.00000000,0.00000 000); //object(p_rubblebig) (25) CreateDynamicObject(2936,568.70001221,873.79998779 ,-140.89999390+1000.0,0.00000000,0.00000000,0.000000 00); //object(kmb_rock) (6) CreateDynamicObject(2936,544.70001221,908.90002441 ,-146.10000610+1000.0,0.00000000,0.00000000,0.000000 00); //object(kmb_rock) (7) CreateDynamicObject(2936,584.00000000,915.70001221 ,-146.80000305+1000.0,0.00000000,0.00000000,0.000000 00); //object(kmb_rock) (8) CreateDynamicObject(2936,588.79998779,920.40002441 ,-148.89999390+1000.0,0.00000000,0.00000000,0.000000 00); //object(kmb_rock) (9) CreateDynamicObject(2936,559.59997559,882.59997559 ,-149.30000305+1000.0,0.00000000,0.00000000,0.000000 00); //object(kmb_rock) (10) CreateDynamicObject(2936,554.50000000,878.50000000 ,-145.30000305+1000.0,0.00000000,0.00000000,0.000000 00); //object(kmb_rock) (11) CreateDynamicObject(2936,571.29998779,873.50000000 ,-141.19999695+1000.0,0.00000000,0.00000000,0.000000 00); //object(kmb_rock) (12) CreateDynamicObject(2936,596.70001221,860.00000000 ,-141.00000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(kmb_rock) (13) CreateDynamicObject(2936,593.89941406,880.69921875 ,-146.10000610+1000.0,0.00000000,0.00000000,0.000000 00); //object(kmb_rock) (14) CreateDynamicObject(2936,538.90002441,924.90002441 ,-139.89999390+1000.0,0.00000000,0.00000000,0.000000 00); //object(kmb_rock) (15) CreateDynamicObject(898,597.89941406,939.19921875,-135.19999695+1000.0,0.00000000,0.00000000,0.000000 00); //object(searock02) (1) CreateDynamicObject(1304,594.40002441,953.40002441 ,-145.89999390+1000.0,0.00000000,0.00000000,0.000000 00); //object(dyn_quarryrock02) (1) CreateDynamicObject(1304,583.90002441,962.59997559 ,-141.80000305+1000.0,0.00000000,0.00000000,0.000000 00); //object(dyn_quarryrock02) (2) CreateDynamicObject(1304,599.00000000,944.40002441 ,-139.19999695+1000.0,0.00000000,0.00000000,0.000000 00); //object(dyn_quarryrock02) (3) CreateDynamicObject(1304,588.29998779,956.90002441 ,-150.50000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(dyn_quarryrock02) (4) CreateDynamicObject(1304,542.50000000,949.00000000 ,-144.89999390+1000.0,0.00000000,0.00000000,0.000000 00); //object(dyn_quarryrock02) (5) CreateDynamicObject(1304,549.09997559,954.79998779 ,-139.69999695+1000.0,0.00000000,0.00000000,0.000000 00); //object(dyn_quarryrock02) (8) CreateDynamicObject(2936,544.09997559,892.90002441 ,-148.69999695+1000.0,0.00000000,0.00000000,0.000000 00); //object(kmb_rock) (16) CreateDynamicObject(2936,543.09997559,881.70001221 ,-141.60000610+1000.0,0.00000000,0.00000000,0.000000 00); //object(kmb_rock) (17) CreateDynamicObject(1304,573.90002441,959.90002441 ,-141.69999695+1000.0,0.00000000,0.00000000,0.000000 00); //object(dyn_quarryrock02) (9) CreateDynamicObject(1304,562.89941406,954.39941406 ,-140.39999390+1000.0,0.00000000,0.00000000,0.000000 00); //object(dyn_quarryrock02) (10) CreateDynamicObject(1304,568.79998779,959.09997559 ,-142.89999390+1000.0,0.00000000,0.00000000,0.000000 00); //object(dyn_quarryrock02) (11) CreateDynamicObject(2936,589.40002441,963.40002441 ,-141.80000305+1000.0,0.00000000,0.00000000,0.000000 00); //object(kmb_rock) (19) CreateDynamicObject(1304,592.59997559,906.09997559 ,-143.30000305+1000.0,0.00000000,0.00000000,0.000000 00); //object(dyn_quarryrock02) (12) CreateDynamicObject(1304,589.29998779,913.29998779 ,-139.10000610+1000.0,0.00000000,0.00000000,0.000000 00); //object(dyn_quarryrock02) (13) CreateDynamicObject(1304,590.59997559,899.59997559 ,-140.00000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(dyn_quarryrock02) (14) CreateDynamicObject(3626,586.70001221,933.00000000 ,-150.00000000+1000.0,0.00000000,0.00000000,270.0000 0000); //object(dckwrkhut) (1) CreateDynamicObject(1508,569.69921875,1135.7998046 9,-149.69999695+1000.0,0.00000000,0.00000000,270.0000 0000); //object(dyn_garage_door) (1) CreateDynamicObject(8378,574.40002441,963.98999023 ,-141.80000305+1000.0,0.00000000,0.00000000,0.000000 00); //object(vgsbighngrdoor) (1) CreateDynamicObject(8378,573.70001221,1107.9000244 1,-151.83999634+1000.0,90.00000000,1.00000000,90.0000 0000); //object(vgsbighngrdoor) (2) CreateDynamicObject(8378,573.00000000,1040.9000244 1,-151.83999634+1000.0,90.00000000,0.99975586,90.0000 0000); //object(vgsbighngrdoor) (3) CreateDynamicObject(8378,573.00000000,999.00000000 ,-151.83999634+1000.0,90.00000000,0.00000000,90.0000 0000); //object(vgsbighngrdoor) (4) CreateDynamicObject(13187,573.00000000,964.1599731 4,-151.83000183+1000.0,0.00000000,59.00000000,90.0000 0000); //object(burbdoor) (1) CreateDynamicObject(13187,576.29998779,964.1599731 4,-151.83000183+1000.0,0.00000000,58.99658203,90.0000 0000); //object(burbdoor) (2) CreateDynamicObject(17029,577.29998779,1089.599975 59,-142.00000000+1000.0,0.00000000,0.00000000,199.9951 1719); //object(cunt_rockgp2_09) (1) CreateDynamicObject(11083,590.09960938,776.2998046 9,-147.47000122+1000.0,0.00000000,0.00000000,0.000000 00); //object(drivingschlgnd_sfs) (2) CreateDynamicObject(906,587.40002441,853.70001221,-145.10000610+1000.0,90.00000000,90.00000000,90.000 00000); //object(p_rubblebig) (20) CreateDynamicObject(906,584.20001221,855.59997559,-144.00000000+1000.0,90.00000000,90.00000000,90.000 00000); //object(p_rubblebig) (22) CreateDynamicObject(906,588.09997559,853.79998779,-146.80000305+1000.0,90.00000000,90.00000000,90.000 00000); //object(p_rubblebig) (20) CreateDynamicObject(906,588.50000000,853.79998779,-147.89999390+1000.0,90.00000000,90.00000000,90.000 00000); //object(p_rubblebig) (22) CreateDynamicObject(906,588.90002441,853.79998779,-149.89999390+1000.0,90.00000000,90.00000000,90.000 00000); //object(p_rubblebig) (22) CreateDynamicObject(906,591.59997559,855.59997559,-150.00000000+1000.0,90.00000000,90.00000000,90.000 00000); //object(p_rubblebig) (20) CreateDynamicObject(906,588.00000000,857.29998779,-150.00000000+1000.0,90.00000000,90.00000000,90.000 00000); //object(p_rubblebig) (20) CreateDynamicObject(906,579.40002441,768.29998779,-146.60000610+1000.0,90.00000000,90.00000000,90.000 00000); //object(p_rubblebig) (20) CreateDynamicObject(906,603.19921875,822.39941406,-144.69999695+1000.0,90.00000000,90.00000000,90.000 00000); //object(p_rubblebig) (20) CreateDynamicObject(906,598.09997559,782.90002441,-147.89999390+1000.0,90.00000000,90.00000000,90.000 00000); //object(p_rubblebig) (20) CreateDynamicObject(901,598.00000000,799.09997559,-149.00000000+1000.0,0.00000000,344.99267578,0.0000 0000); //object(searock05) (22) CreateDynamicObject(10984,598.70001221,805.7999877 9,-150.19999695+1000.0,0.00000000,0.00000000,0.000000 00); //object(rubbled01_sfs) (5) CreateDynamicObject(10984,598.40997314,806.0000000 0,-146.00000000+1000.0,325.00000000,0.00000000,0.0000 0000); //object(rubbled01_sfs) (5) CreateDynamicObject(10984,597.90002441,805.9000244 1,-145.80000305+1000.0,270.00000000,0.00000000,0.0000 0000); //object(rubbled01_sfs) (5) CreateDynamicObject(906,595.79998779,816.29998779,-146.19999695+1000.0,90.00000000,90.00000000,90.000 00000); //object(p_rubblebig) (20) CreateDynamicObject(1508,574.89941406,963.29980469 ,-149.89999390+1000.0,0.00000000,0.00000000,270.0000 0000); //object(dyn_garage_door) (1) CreateDynamicObject(906,587.29998779,963.29998779,-142.00000000+1000.0,90.00000000,90.00000000,90.000 00000); //object(p_rubblebig) (8) CreateDynamicObject(10984,600.00000000,809.0000000 0,-149.80000305+1000.0,0.00000000,0.00000000,0.000000 00); //object(rubbled01_sfs) (5) CreateDynamicObject(18253,589.00000000,950.0000000 0,-149.19990540+1000.0,0.00000000,0.00000000,0.000000 00); //object(cuntwjunk09) (1) CreateDynamicObject(3502,589.20001221,945.00000000 ,-142.00000000+1000.0,90.00000000,0.00000000,0.00000 000); //object(vgsn_con_tube) (1) CreateDynamicObject(3502,589.20001221,955.00000000 ,-142.00000000+1000.0,90.00000000,0.00000000,0.00000 000); //object(vgsn_con_tube) (2) CreateDynamicObject(3502,589.20001221,950.00000000 ,-142.00000000+1000.0,90.00000000,0.00000000,0.00000 000); //object(vgsn_con_tube) (3) CreateDynamicObject(3930,586.50000000,941.59997559 ,-151.50000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (2) CreateDynamicObject(3930,586.29998779,940.70001221 ,-151.50000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (3) CreateDynamicObject(3930,587.50000000,941.29998779 ,-151.50000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (4) CreateDynamicObject(3930,586.59997559,941.29998779 ,-151.50000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (5) CreateDynamicObject(3930,586.59997559,940.29998779 ,-151.50000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (6) CreateDynamicObject(3930,587.70001221,939.59997559 ,-151.50000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (7) CreateDynamicObject(3930,587.00000000,939.20001221 ,-151.50000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (8) CreateDynamicObject(3930,586.70001221,939.70001221 ,-151.50000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (9) CreateDynamicObject(3930,587.20001221,940.00000000 ,-151.50000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (10) CreateDynamicObject(3930,586.50000000,941.59997559 ,-150.69999695+1000.0,0.00000000,90.00000000,90.0000 0000); //object(d_rock01) (11) CreateDynamicObject(3930,587.20001221,941.59997559 ,-150.39999390+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (12) CreateDynamicObject(3930,588.70001221,942.00000000 ,-150.80000305+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (13) CreateDynamicObject(3930,587.09997559,941.40002441 ,-150.60000610+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (14) CreateDynamicObject(3930,586.29998779,940.50000000 ,-150.69999695+1000.0,0.00000000,90.00000000,90.0000 0000); //object(d_rock01) (15) CreateDynamicObject(3930,586.90002441,941.00000000 ,-150.69999695+1000.0,0.00000000,90.00000000,90.0000 0000); //object(d_rock01) (16) CreateDynamicObject(3930,587.90002441,938.79998779 ,-150.80000305+1000.0,0.00000000,90.00000000,90.0000 0000); //object(d_rock01) (17) CreateDynamicObject(3930,587.90002441,941.79998779 ,-150.80000305+1000.0,0.00000000,90.00000000,90.0000 0000); //object(d_rock01) (18) CreateDynamicObject(3930,588.29998779,941.40002441 ,-150.80000305+1000.0,0.00000000,90.00000000,90.0000 0000); //object(d_rock01) (19) CreateDynamicObject(3930,587.79998779,941.40002441 ,-150.50000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (20) CreateDynamicObject(3930,587.09997559,940.70001221 ,-150.80000305+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (21) CreateDynamicObject(3930,588.09997559,941.00000000 ,-150.80000305+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (22) CreateDynamicObject(3930,589.20001221,941.90002441 ,-150.80000305+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (24) CreateDynamicObject(3930,587.09997559,940.20001221 ,-150.69999695+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (25) CreateDynamicObject(3930,588.79998779,940.20001221 ,-150.80000305+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (27) CreateDynamicObject(3930,587.70001221,940.70001221 ,-150.80000305+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (29) CreateDynamicObject(3930,588.09997559,939.79998779 ,-150.80000305+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (31) CreateDynamicObject(3930,588.40002441,939.50000000 ,-150.80000305+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (32) CreateDynamicObject(3930,587.40002441,939.59997559 ,-151.00000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (33) CreateDynamicObject(3930,587.70001221,940.00000000 ,-150.50000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (34) CreateDynamicObject(3930,586.90002441,938.70001221 ,-151.10000610+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (35) CreateDynamicObject(3930,587.90002441,938.29998779 ,-151.44999695+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (36) CreateDynamicObject(3930,588.50000000,937.79998779 ,-151.44999695+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (37) CreateDynamicObject(3930,588.29998779,938.50000000 ,-151.44999695+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (38) CreateDynamicObject(3930,588.90002441,938.40002441 ,-151.44999695+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (39) CreateDynamicObject(3930,588.50000000,938.90002441 ,-150.60000610+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (40) CreateDynamicObject(3930,587.70001221,940.90002441 ,-150.00000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (41) CreateDynamicObject(3930,587.40002441,940.20001221 ,-150.00000000+1000.0,0.00000000,0.00000000,0.000000 00); //object(d_rock01) (42) Добавлено (18.05.2014, 19:29) --------------------------------------------- В public OnPlayerClickTextDraw(playerid, Text:clickedid) Код if(GetPVarInt(playerid, "Miner") == 1 && GetPVarInt(playerid, "Mining") == 1) { if(clickedid == Text:INVALID_TEXT_DRAW) { SendClientMessage(playerid, COLOR_RED, "Вы отменили добычу минералов."); MiningProgress[playerid] = 0; SetPVarInt(playerid, "Mining" , 0); CancelSelectTextDraw(playerid); ClearAnimations(playerid);  
>>> My sa:mp server 176.32.39.43:7777 <<<
|
|
|
|