- #include a_samp
- #include zcmd
- #include streamer
- new Sementes[MAX_PLAYERS], Plantando[MAX_PLAYERS], Drogas[MAX_PLAYERS], Embalado[MAX_PLAYERS], Embalando[MAX_PLAYERS];
- new Float:P[MAX_PLAYERS][4], Text3D:TextLabel[MAX_PLAYERS], Remocao[16];
- CMD:comprarsementes(playerid)
- {
- if(!IsPlayerInRangeOfPoint(playerid, 2.0, 2254.4675,-1699.1292,13.7476)) return SendClientMessage(playerid, -1, "Você não está no local que compra sementes.");
- if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "Você precisa estar fora do veiculo pra poder usa este comando.");
- Sementes[playerid] = 5;
- GivePlayerMoney(playerid, -25000);
- SendClientMessage(playerid, -1, "Você comprou 5 sementes para plantar drogas.");
- return 1;
- }
- CMD:plantar(playerid)
- {
- if(Sementes[playerid] <=0) return SendClientMessage(playerid, -1, "Você não pode plantar sem sementes.");
- if(Plantando[playerid] == 1) return SendClientMessage(playerid, -1, "Você já está plantando.");
- if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "Você precisa estar fora do veiculo pra poder usa este comando.");
- if(IsPlayerInRangeOfPoint(playerid, 2.0, 1067.9816,-289.0009,73.9922) || IsPlayerInRangeOfPoint(playerid, 2.0, 1064.9008,-288.9860,73.9922) || IsPlayerInRangeOfPoint(playerid, 2.0, 1061.0771,-289.0986,73.9922) ||
- IsPlayerInRangeOfPoint(playerid, 2.0, 1056.6691,-289.2285,73.9922) || IsPlayerInRangeOfPoint(playerid, 2.0, 1067.9731,-292.1593,73.9851) || IsPlayerInRangeOfPoint(playerid, 2.0, 1065.0957,-292.1340,73.9851) ||
- IsPlayerInRangeOfPoint(playerid, 2.0, 1061.1887,-292.0998,73.9922) || IsPlayerInRangeOfPoint(playerid, 2.0, 1056.8352,-292.0615,73.9922) || IsPlayerInRangeOfPoint(playerid, 2.0, 1068.1044,-294.5178,73.9851) ||
- IsPlayerInRangeOfPoint(playerid, 2.0, 1065.4271,-294.5991,73.9851) || IsPlayerInRangeOfPoint(playerid, 2.0, 1061.3285,-294.7237,73.9851) || IsPlayerInRangeOfPoint(playerid, 2.0, 1056.8835,-294.8588,73.9851) ||
- IsPlayerInRangeOfPoint(playerid, 2.0, 1068.2195,-296.9081,73.9851) || IsPlayerInRangeOfPoint(playerid, 2.0, 1065.8510,-297.0544,73.9851) || IsPlayerInRangeOfPoint(playerid, 2.0, 1061.7727,-297.5237,73.9851) ||
- IsPlayerInRangeOfPoint(playerid, 2.0, 1057.3954,-298.0271,73.9922))
- {
- if(Plantando[playerid] == 0)
- {
- new string[50];
- Sementes[playerid] --;
- Plantando[playerid] = true;
- Plantacao(playerid);
- format(string, sizeof(string), "Plantação pertencente á: %s.", PlayerName(playerid));
- GetPlayerPos(playerid, P[playerid][0], P[playerid][1], P[playerid][2]);
- TextLabel[playerid] = Create3DTextLabel(string, 0xFF0000AA, P[playerid][0], P[playerid][1], P[playerid][2], 20, 0, 0);
- ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.1, 0, 0, 0, 0, 0, 1);
- SendClientMessage(playerid, -1, "Você iniciou sua plantação, aguarde um tempo para colher.");
- }
- }
- else{
- SendClientMessage(playerid, -1, "Você não está no local correto.");
- }
- return 1;
- }
- CMD:colher(playerid)
- {
- if(Plantando[playerid] <=0) return SendClientMessage(playerid, -1, "Você não pode colher, o que não está plantando.");
- if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "Você precisa estar fora do veiculo pra poder usa este comando.");
- if(IsPlayerInRangeOfPoint(playerid, 2, P[playerid][0], P[playerid][1], P[playerid][2]))
- {
- ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.1, 0, 0, 0, 0, 0, 1);
- SendClientMessage(playerid, -1, "Você colheu uma droga.");
- Delete3DTextLabel(TextLabel[playerid]);
- Drogas[playerid] ++;
- Remover(playerid);
- Plantando[playerid] = false;
- }
- else{
- SendClientMessage(playerid, -1, "Você não está no local correto.");
- }
- return 1;
- }
- CMD:embalar(playerid)
- {
- if(Drogas[playerid] <=0) return SendClientMessage(playerid, -1, "Você não tem drogas para embalar.");
- if(Plantando[playerid] == 1) return SendClientMessage(playerid, -1, "Você não pode embalar drogas, enquanto estiver plantando.");
- if(Embalando[playerid] == 1) return SendClientMessage(playerid, -1, "Você já está embalando.");
- if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "Você precisa estar fora do veiculo pra poder usa este comando.");
- if(IsPlayerInRangeOfPoint(playerid, 2.0, 1055.2350,-301.1908,79.0718) || IsPlayerInRangeOfPoint(playerid, 2.0, 1058.7205,-301.0574,79.0377) ||
- IsPlayerInRangeOfPoint(playerid, 2.0, 1062.7438,-301.0537,79.0377) || IsPlayerInRangeOfPoint(playerid, 2.0, 1066.5061,-301.2105,79.0277) ||
- IsPlayerInRangeOfPoint(playerid, 2.0, 1069.6200,-302.1325,79.0277) || IsPlayerInRangeOfPoint(playerid, 2.0, 1069.6385,-306.2584,79.0277) ||
- IsPlayerInRangeOfPoint(playerid, 2.0, 1069.6552,-310.7587,79.0218) || IsPlayerInRangeOfPoint(playerid, 2.0, 1069.1132,-313.9928,79.0218) ||
- IsPlayerInRangeOfPoint(playerid, 2.0, 1063.8151,-314.0785,79.0218) || IsPlayerInRangeOfPoint(playerid, 2.0, 1058.9000,-314.1403,79.0159) ||
- IsPlayerInRangeOfPoint(playerid, 2.0, 1055.5009,-314.1674,79.0159))
- {
- Embalando[playerid] = true;
- Contar(5);
- ApplyAnimation(playerid, "INT_SHOP", "shop_loop", 4.0, 1, 0, 0, 1, 0, 1);
- SendClientMessage(playerid, -1, "Você está embalando sua droga...");
- return 1;
- }
- else{
- SendClientMessage(playerid, -1, "Você não está no lugar certo.");
- }
- return 1;
- }
- CMD:produtos(playerid)
- {
- new string[50];
- format(string, sizeof(string), "Sementes: %d | Drogas: %d | Embalados: %d", Sementes[playerid], Drogas[playerid], Embalado[playerid]);
- SendClientMessage(playerid, -1, string);
- return 1;
- }
- CMD:comandos(playerid)
- {
- new string[100];
- format(string, sizeof(string), "/ComprarSementes | /Plantar | /Colher | /Embalar | /Produtos");
- ShowPlayerDialog(playerid, 100, DIALOG_STYLE_MSGBOX, "Comandos", string, "Fechar", "");
- return 1;
- }
- CMD:creditos(playerid)
- {
- SendClientMessage(playerid, -1, "Creditos: SkolPlay.");
- return 1;
- }
- // Fim dos comandos.
- forward Contar(Contagem);
- public Contar(Contagem)
- {
- new iString2[130];
- new i;
- new playerid;
- format(iString2,3, "%d", Contagem);
- if(Contagem > 0)
- {
- GameTextForPlayer(i, iString2, 700, 4);
- SetTimerEx ("Contar", 1000, false, "i" , Contagem-1);
- }
- if(Contagem == 0)
- {
- ClearAnimations(playerid);
- Embalado[playerid] ++;
- Drogas[playerid] --;
- Embalando[playerid] = false;
- SendClientMessage(playerid, -1, "Você acabou de embalar sua droga.");
- }
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- RemoveBuildingForPlayer(playerid, 13206, 1072.949, -289.179, 72.734, 0.250);
- SetPlayerPos(playerid, 1061.1964,-328.8647,73.9922);
- return 1;
- }
- stock PlayerName(playerid)
- {
- new name[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, MAX_PLAYER_NAME);
- return name;
- }
- public OnGameModeInit()
- {
- new tmpobjid;
- tmpobjid = CreateDynamicObject(19464, 1056.608764, -315.574768, 75.482116, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19465, 1062.450805, -315.567291, 75.482154, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1068.242065, -315.557403, 75.482162, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1071.080322, -312.592254, 75.472152, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1071.078979, -306.752044, 75.462181, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1071.071044, -302.488586, 75.455055, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1068.220581, -299.651458, 75.465042, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19465, 1062.433471, -299.666656, 75.454994, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1056.570434, -299.682342, 75.452171, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1053.736816, -312.528961, 75.482170, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1053.728881, -306.627868, 75.472145, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1053.726684, -302.582855, 75.472129, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1071.058471, -296.588409, 75.455017, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1071.052856, -290.712951, 75.444999, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1053.733154, -296.638458, 75.442131, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1053.716674, -290.807769, 75.442169, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1053.706542, -288.598785, 75.442161, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1056.540527, -285.741363, 75.432151, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1062.366821, -285.750213, 75.442184, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1068.217285, -285.740753, 75.432106, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1071.067382, -288.790252, 75.432189, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19376, 1058.959594, -310.808441, 77.929916, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 10370, "alleys_sfs", "ws_asphalt", 0x00000000);
- tmpobjid = CreateDynamicObject(19376, 1065.730346, -310.814544, 77.935874, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 10370, "alleys_sfs", "ws_asphalt", 0x00000000);
- tmpobjid = CreateDynamicObject(19376, 1065.864013, -304.386596, 77.941795, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 10370, "alleys_sfs", "ws_asphalt", 0x00000000);
- tmpobjid = CreateDynamicObject(19452, 1059.001831, -304.356628, 77.945838, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 10370, "alleys_sfs", "ws_asphalt", 0x00000000);
- tmpobjid = CreateDynamicObject(19452, 1058.670654, -301.333282, 77.951759, 0.000000, 90.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 10370, "alleys_sfs", "ws_asphalt", 0x00000000);
- tmpobjid = CreateDynamicObject(19452, 1056.946899, -304.389862, 77.985832, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 10370, "alleys_sfs", "ws_asphalt", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1056.818603, -299.657928, 80.481750, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1062.706176, -299.670715, 80.497718, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1068.055664, -299.684112, 80.507690, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1071.029785, -302.537536, 80.497734, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1071.028320, -308.351959, 80.497680, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1071.047729, -312.712188, 80.501792, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1068.009887, -315.549774, 80.491813, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1062.190673, -315.562286, 80.491783, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1056.589233, -315.570404, 80.485809, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1053.743041, -312.493957, 80.495826, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1053.744506, -307.077026, 80.491729, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19464, 1053.720458, -302.517303, 80.501762, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 2023, "bitsnbobs", "CJ_LIGHTWOOD", 0x00000000);
- tmpobjid = CreateDynamicObject(19376, 1058.935791, -294.772979, 77.895042, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 19297, "matlights", "invisible", 0x00000000);
- tmpobjid = CreateDynamicObject(19376, 1065.797851, -294.778350, 77.890991, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 19297, "matlights", "invisible", 0x00000000);
- tmpobjid = CreateDynamicObject(19376, 1059.059204, -290.491180, 77.881004, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 19297, "matlights", "invisible", 0x00000000);
- tmpobjid = CreateDynamicObject(19376, 1065.697875, -290.483673, 77.866935, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- SetDynamicObjectMaterial(tmpobjid, 0, 19297, "matlights", "invisible", 0x00000000);
- /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- tmpobjid = CreateDynamicObject(19376, 1065.857421, -304.618377, 72.992187, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(19376, 1065.841674, -310.619689, 72.988121, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(19376, 1058.935913, -304.617126, 72.998123, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(19376, 1058.895874, -310.618591, 72.994018, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(12950, 1054.413330, -302.685668, 74.753974, 0.000000, 0.000000, 180.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1502, 1063.215209, -315.564849, 72.992187, 0.000000, 0.000000, 180.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(19376, 1065.829711, -310.853759, 82.921775, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(19376, 1058.999389, -310.880523, 82.927696, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(19376, 1058.985595, -304.571899, 82.933631, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(19376, 1065.774902, -304.573455, 82.929512, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2115, 1058.345336, -300.227874, 78.051773, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2115, 1062.323852, -300.223815, 78.037696, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2115, 1066.009521, -300.374267, 78.027732, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2115, 1070.462402, -302.682586, 78.027732, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2115, 1070.481201, -306.918914, 78.027732, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2115, 1070.496826, -311.355163, 78.021812, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2115, 1068.506958, -314.835449, 78.021812, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2115, 1063.202636, -314.922271, 78.021812, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2115, 1058.349487, -314.985565, 78.015853, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2115, 1055.936645, -314.997619, 78.015853, 0.000000, 0.000000, 180.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2115, 1054.772949, -300.358123, 78.071769, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1578, 1054.826904, -300.407714, 78.831741, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1578, 1055.613525, -300.408447, 78.861770, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1578, 1058.426025, -300.318939, 78.827682, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1578, 1059.097534, -300.289276, 78.767662, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1578, 1062.357788, -300.393218, 78.857658, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1578, 1063.211791, -300.328338, 78.787658, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1578, 1066.188842, -300.552856, 78.747695, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1578, 1066.857299, -300.545562, 78.777725, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1578, 1070.285644, -301.724914, 78.767669, 0.000000, 0.000000, 270.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1578, 1070.314331, -302.506011, 78.757736, 0.000000, 0.000000, 270.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1578, 1070.275024, -305.951293, 78.827674, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1578, 1070.285156, -306.697662, 78.777732, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1578, 1070.296020, -310.364929, 78.797798, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1578, 1070.292846, -311.227661, 78.831817, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1578, 1069.393676, -314.654724, 78.831802, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1578, 1068.773071, -314.654724, 78.831794, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1578, 1064.175659, -314.697082, 78.831794, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1578, 1063.458129, -314.669189, 78.841781, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1578, 1059.229125, -314.856811, 78.725852, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1578, 1058.427856, -314.800048, 78.771812, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1578, 1055.893920, -314.748779, 78.775779, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1578, 1055.063964, -314.743408, 78.765808, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(3761, 1070.199829, -304.173828, 74.998115, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(3577, 1069.562133, -309.327697, 73.714057, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(3015, 1070.191772, -311.900573, 73.224090, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(3015, 1069.259887, -311.872924, 73.104049, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(3576, 1069.058105, -313.757141, 74.534049, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(922, 1058.004394, -314.738006, 73.979919, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1685, 1067.134521, -314.653106, 73.724044, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1685, 1065.401367, -314.623535, 73.724075, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(922, 1054.723144, -310.728973, 74.029960, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(19942, 1055.954223, -300.060089, 78.951766, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(19942, 1059.646606, -300.309509, 78.937629, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(19942, 1063.691894, -300.361694, 78.947692, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(19942, 1067.317382, -300.212066, 78.917709, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(19942, 1070.618652, -302.955261, 78.947715, 0.000000, 0.000000, 270.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(19942, 1070.434692, -307.158081, 78.907737, 0.000000, 0.000000, 270.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(19942, 1070.322509, -311.686523, 78.991783, 0.000000, 0.000000, 270.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(19942, 1068.345703, -314.949707, 78.941810, 0.000000, 0.000000, 180.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(19942, 1062.938598, -314.873748, 78.911796, 0.000000, 0.000000, 180.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(19942, 1058.060302, -314.831481, 78.945846, 0.000000, 0.000000, 180.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(19942, 1054.676513, -315.011871, 78.895851, 0.000000, 0.000000, 180.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2036, 1065.369628, -314.361938, 74.494064, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2035, 1069.004028, -309.029174, 74.528114, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2035, 1055.500244, -315.156829, 78.835884, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2035, 1058.811035, -315.236877, 78.875839, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2035, 1063.706298, -315.188079, 78.831817, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2035, 1068.966308, -315.055511, 78.851791, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2036, 1055.263305, -300.066772, 78.901771, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2036, 1058.955688, -299.987518, 78.857704, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2036, 1062.884155, -300.057373, 78.837699, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2036, 1066.570068, -300.147338, 78.847709, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2036, 1070.618530, -302.071166, 78.857749, 0.000000, 0.000000, 270.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2035, 1070.645385, -306.424346, 78.837707, 0.000000, 0.000000, 270.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2035, 1070.756103, -310.817810, 78.861808, 0.000000, 0.000000, 270.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2035, 1066.965332, -314.387573, 74.492393, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1550, 1057.155395, -315.225372, 78.385848, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1550, 1061.193359, -315.229431, 78.391815, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1550, 1066.211914, -315.283447, 78.441787, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1550, 1070.663818, -308.509643, 78.377716, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1550, 1070.738525, -304.495819, 78.357727, 0.000000, 0.000000, 900.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1550, 1064.661499, -300.032928, 78.407722, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1550, 1060.997192, -300.045593, 78.357696, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1550, 1057.026367, -300.030456, 78.411773, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(1222, 1070.041748, -300.345825, 73.648124, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(19618, 1066.322143, -300.207366, 73.518112, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(19618, 1064.420654, -300.237823, 73.508110, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(19618, 1068.051513, -300.235626, 73.518096, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(19619, 1064.011108, -300.469573, 73.508140, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(19619, 1065.924194, -300.426605, 73.528121, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(19619, 1067.646118, -300.461090, 73.518104, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2034, 1064.332763, -300.278961, 74.038131, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2044, 1066.292236, -300.268127, 74.058059, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- tmpobjid = CreateDynamicObject(2033, 1067.966186, -300.243438, 73.988113, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- //Pickup plantação.
- CreatePickup(1254, 23,1067.9816,-289.0009,73.9922); CreatePickup(1254, 23,1064.9008,-288.9860,73.9922); CreatePickup(1254, 23,1061.0771,-289.0986,73.9922);
- CreatePickup(1254, 23,1056.6691,-289.2285,73.9922); CreatePickup(1254, 23,1067.9731,-292.1593,73.9851); CreatePickup(1254, 23,1065.0957,-292.1340,73.9851);
- CreatePickup(1254, 23,1061.1887,-292.0998,73.9922); CreatePickup(1254, 23,1056.8352,-292.0615,73.9922); CreatePickup(1254, 23,1068.1044,-294.5178,73.9851);
- CreatePickup(1254, 23,1065.4271,-294.5991,73.9851); CreatePickup(1254, 23,1061.3285,-294.7237,73.9851); CreatePickup(1254, 23,1056.8835,-294.8588,73.9851);
- CreatePickup(1254, 23,1068.2195,-296.9081,73.9851); CreatePickup(1254, 23,1065.8510,-297.0544,73.9851); CreatePickup(1254, 23,1061.7727,-297.5237,73.9851);
- CreatePickup(1254, 23,1057.3954,-298.0271,73.9922); CreatePickup(1254, 23, 2254.4675,-1699.1292,13.7476);
- Create3DTextLabel("Sementes de drogas, aqui!", 0xFFFFFFFF, 2254.4675,-1699.1292,13.7476, 50, 0, 0);
- //Pickup de embalar
- CreatePickup(1239, 23, 1055.2350,-301.1908,79.0718); CreatePickup(1239, 23, 1058.7205,-301.0574,79.0377); CreatePickup(1239, 23, 1062.7438,-301.0537,79.0377);
- CreatePickup(1239, 23, 1066.5061,-301.2105,79.0277); CreatePickup(1239, 23, 1069.6200,-302.1325,79.0277); CreatePickup(1239, 23, 1069.6385,-306.2584,79.0277);
- CreatePickup(1239, 23, 1069.6552,-310.7587,79.0218); CreatePickup(1239, 23, 1069.1132,-313.9928,79.0218); CreatePickup(1239, 23, 1063.8151,-314.0785,79.0218);
- CreatePickup(1239, 23, 1058.9000,-314.1403,79.0159); CreatePickup(1239, 23, 1055.5009,-314.1674,79.0159);
- return 1;
- }
- forward Objetos(playerid);
- public Objetos(playerid)
- {
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1057.2780,-297.8922,73.9922))
- {
- Remocao[0] = CreateDynamicObject(19473, 1057.301147, -298.113006, 72.432189, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1056.8649,-294.7257,73.9851))
- {
- Remocao[1] = CreateDynamicObject(19473, 1056.882080, -294.751800, 72.275070, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1056.7786,-291.8760,73.9922))
- {
- Remocao[2] = CreateDynamicObject(19473, 1056.745117, -291.912658, 72.342185, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1056.7496,-289.1698,73.9922))
- {
- Remocao[3] = CreateDynamicObject(19473, 1056.609130, -288.922241, 72.432205, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1061.0464,-288.8317,73.9922))
- {
- Remocao[4] = CreateDynamicObject(19473, 1061.021972, -289.067413, 72.452217, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1061.0260,-292.0007,73.9922))
- {
- Remocao[5] = CreateDynamicObject(19473, 1061.229858, -292.049530, 72.462203, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1061.2888,-294.5310,73.9851))
- {
- Remocao[6] = CreateDynamicObject(19473, 1061.217041, -294.840637, 72.495063, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1061.7322,-297.3013,73.9851))
- {
- Remocao[7] = CreateDynamicObject(19473, 1061.804565, -297.718719, 72.415069, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1065.6115,-296.9664,73.9851))
- {
- Remocao[8] = CreateDynamicObject(19473, 1065.825683, -297.040924, 72.335090, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1065.2069,-294.4120,73.9851))
- {
- Remocao[9] = CreateDynamicObject(19473, 1065.369506, -294.512268, 72.395072, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1064.9475,-292.2710,73.9851))
- {
- Remocao[10] = CreateDynamicObject(19473, 1065.011596, -292.180175, 72.455078, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1064.8839,-288.8146,73.9922))
- {
- Remocao[11] = CreateDynamicObject(19473, 1064.886352, -288.891204, 72.512214, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1067.8370,-288.9097,73.9922))
- {
- Remocao[12] = CreateDynamicObject(19473, 1067.918701, -288.999603, 72.302215, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1067.7855,-292.1423,73.9851))
- {
- Remocao[13] = CreateDynamicObject(19473, 1067.926757, -292.199279, 72.275047, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1067.9957,-294.4928,73.9851))
- {
- Remocao[14] = CreateDynamicObject(19473, 1068.091796, -294.538452, 72.175086, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1068.0853,-296.8463,73.9851))
- {
- Remocao[15] = CreateDynamicObject(19473, 1068.043212, -296.944091, 72.245063, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
- }
- return 1;
- }
- forward Remover(playerid);
- public Remover(playerid)
- {
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1057.2780,-297.8922,73.9922))
- {
- DestroyDynamicObject(Remocao[0]);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1056.8649,-294.7257,73.9851))
- {
- DestroyDynamicObject(Remocao[1]);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1056.7786,-291.8760,73.9922))
- {
- DestroyDynamicObject(Remocao[2]);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1056.7496,-289.1698,73.9922))
- {
- DestroyDynamicObject(Remocao[3]);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1061.0464,-288.8317,73.9922))
- {
- DestroyDynamicObject(Remocao[4]);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1061.0260,-292.0007,73.9922))
- {
- DestroyDynamicObject(Remocao[5]);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1061.2888,-294.5310,73.9851))
- {
- DestroyDynamicObject(Remocao[6]);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1061.7322,-297.3013,73.9851))
- {
- DestroyDynamicObject(Remocao[7]);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1065.6115,-296.9664,73.9851))
- {
- DestroyDynamicObject(Remocao[8]);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1065.2069,-294.4120,73.9851))
- {
- DestroyDynamicObject(Remocao[9]);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1064.9475,-292.2710,73.9851))
- {
- DestroyDynamicObject(Remocao[10]);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1064.8839,-288.8146,73.9922))
- {
- DestroyDynamicObject(Remocao[11]);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1067.8370,-288.9097,73.9922))
- {
- DestroyDynamicObject(Remocao[12]);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1067.7855,-292.1423,73.9851))
- {
- DestroyDynamicObject(Remocao[13]);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1067.9957,-294.4928,73.9851))
- {
- DestroyDynamicObject(Remocao[14]);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 1068.0853,-296.8463,73.9851))
- {
- DestroyDynamicObject(Remocao[15]);
- }
- return 1;
- }
- forward Plantacao(playerid);
- public Plantacao(playerid)
- {
- SetTimerEx("Objetos", 1000, false, "i", playerid);
- SendClientMessage(playerid, -1, "Sua plantação está pronta, colha ela.");
- return 1;
- }