Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/10/21 in all areas

  1. Soooo, originally made those mappings for myself, my project that I was making and wanted to open, but things didn`t turn out as planned aaand I kinda gave up on all SA:MP RolePlay project making. Two years passed by, but luckily I hang onto those mappings that I made, just in case, maybe someday, someone could use them in their own projects. So yeah - that day has come! Sharing those mappings to you, my friends! All of them are located in Los Santos. Intended for RolePlay servers, but feel free to use them however and wherever you want. Here you go: Los Santos Airport Object count: 229, it`s almost original airport from the first cutscene in game, just remapped so you can walk on it without falling throught. Approximate location: above Los Santos airport. Warning: Usable only as interior (in another vworld I guess), reason: it`s a pretty big mess when looking from outside. Download link: http://www.solidfiles.com/d/5b104d8328/ Bank Object count: 110 Approximate location: Under the building, east from Ottos Autos. Warning: Usable only as interior (in another vworld I guess), reason: some of non-collidable objects are sticking out of the ground. Download link: http://www.solidfiles.com/d/880d9b9a60/ Dumpsite Object count: 36 Approximate location: Las Colinas south. Download link: http://www.solidfiles.com/d/4b8b7ed3a7/ Los Santos Police Department Interior Object count: 158 Approximate location: On top of LSPD, Pershing Square east. Warning: Usable only as interior (in another vworld I guess), reason: mapped on top of LSPD Download link: http://www.solidfiles.com/d/345bd77a62/ Los Santos Police Department garage/gates Object count: 49 Approximate location: LSPD, Pershing Square east. Download link: http://www.solidfiles.com/d/55acb70933/ Coalmine Object count: 97 Approximate location: Under Flint Range farm Removable objects: RemoveBuildingForPlayer(playerid, 1454, -574.3906, -1476.8203, 10.3828, 0.25); RemoveBuildingForPlayer(playerid, 1454, -577.3438, -1478.5703, 10.6563, 0.25); RemoveBuildingForPlayer(playerid, 1454, -580.2891, -1480.3125, 10.7422, 0.25); RemoveBuildingForPlayer(playerid, 727, -565.5156, -1468.0078, 8.5547, 0.25); RemoveBuildingForPlayer(playerid, 727, -555.0859, -1476.4688, 8.2813, 0.25); RemoveBuildingForPlayer(playerid, 3276, -419.7500, -1412.9766, 23.1250, 0.25); RemoveBuildingForPlayer(playerid, 17000, -406.9141, -1448.9688, 24.6406, 0.25); RemoveBuildingForPlayer(playerid, 3276, -378.7734, -1459.0234, 25.4766, 0.25); RemoveBuildingForPlayer(playerid, 3276, -384.2344, -1455.8281, 25.4766, 0.25); RemoveBuildingForPlayer(playerid, 17005, -391.1406, -1432.9922, 32.4297, 0.25); RemoveBuildingForPlayer(playerid, 17006, -394.9609, -1433.9688, 32.4453, 0.25); RemoveBuildingForPlayer(playerid, 3276, -396.8047, -1411.5469, 25.3906, 0.25); RemoveBuildingForPlayer(playerid, 3276, -408.5625, -1412.2891, 24.8281, 0.25); RemoveBuildingForPlayer(playerid, 3276, -368.7813, -1454.3672, 25.4766, 0.25); RemoveBuildingForPlayer(playerid, 3425, -370.3750, -1446.9688, 35.9531, 0.25); RemoveBuildingForPlayer(playerid, 17298, -366.6719, -1422.6875, 30.3750, 0.25); RemoveBuildingForPlayer(playerid, 1454, -372.1797, -1434.6094, 25.5156, 0.25); RemoveBuildingForPlayer(playerid, 1454, -369.1953, -1434.6094, 25.5156, 0.25); RemoveBuildingForPlayer(playerid, 1454, -366.2031, -1434.6094, 25.4375, 0.25); RemoveBuildingForPlayer(playerid, 3276, -362.4844, -1446.1250, 25.4766, 0.25); RemoveBuildingForPlayer(playerid, 3276, -361.8125, -1407.5391, 25.4766, 0.25); RemoveBuildingForPlayer(playerid, 3276, -360.7188, -1435.2578, 24.8984, 0.25); RemoveBuildingForPlayer(playerid, 1454, -363.2109, -1434.6094, 25.3984, 0.25); RemoveBuildingForPlayer(playerid, 3276, -358.7578, -1423.8203, 24.7500, 0.25); RemoveBuildingForPlayer(playerid, 3276, -356.8594, -1412.5547, 25.2500, 0.25); RemoveBuildingForPlayer(playerid, 1454, -333.6953, -1434.8359, 15.4063, 0.25); RemoveBuildingForPlayer(playerid, 1454, -328.9688, -1434.8359, 15.1797, 0.25); RemoveBuildingForPlayer(playerid, 1454, -323.3828, -1434.8359, 14.9375, 0.25); RemoveBuildingForPlayer(playerid, 1454, -315.8438, -1434.8359, 14.7578, 0.25); RemoveBuildingForPlayer(playerid, 1454, -307.7344, -1434.8359, 14.1719, 0.25); RemoveBuildingForPlayer(playerid, 727, -578.4922, -1511.0781, 8.5078, 0.25); RemoveBuildingForPlayer(playerid, 3425, -583.0547, -1496.7031, 19.9844, 0.25); RemoveBuildingForPlayer(playerid, 727, -588.7031, -1493.3438, 9.4453, 0.25); RemoveBuildingForPlayer(playerid, 17457, -570.7344, -1490.3203, 15.0703, 0.25); RemoveBuildingForPlayer(playerid, 3286, -559.3047, -1486.3281, 12.8359, 0.25); RemoveBuildingForPlayer(playerid, 1454, -586.1953, -1483.7969, 11.0391, 0.25); RemoveBuildingForPlayer(playerid, 1454, -584.1328, -1485.9844, 10.5781, 0.25); RemoveBuildingForPlayer(playerid, 800, -560.0625, -1481.4297, 10.5859, 0.25); RemoveBuildingForPlayer(playerid, 1454, -583.2422, -1482.0547, 10.7969, 0.25); Download link: http://www.solidfiles.com/d/f0f7cb9ff1/ Restaurant Object count: 258 (extremely detailed) Approximate location: Under the house on Pershing Square north. Download link: http://www.solidfiles.com/d/a3735d4673/ Roadworks Object count: 78 Approximate location: Idlewood, behind Alhambra. Removable objects: RemoveBuildingForPlayer(playerid, 5543, 1941.6563, -1682.5703, 12.4766, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1940.9063, -1741.1484, 15.6016, 0.25); RemoveBuildingForPlayer(playerid, 1226, 1945.7656, -1716.3594, 16.3906, 0.25); RemoveBuildingForPlayer(playerid, 1226, 1937.5547, -1669.8906, 16.3906, 0.25); RemoveBuildingForPlayer(playerid, 5441, 1941.6563, -1682.5703, 12.4766, 0.25); RemoveBuildingForPlayer(playerid, 1226, 1945.7656, -1635.7734, 16.3906, 0.25); Download link: http://www.solidfiles.com/d/2df29cab48/ LS Building office Object count: 261 (extremely detailed) Approximate location: LS Building 2nd floor, west from Glenpark. Download link: http://www.solidfiles.com/d/f814efccef/ Torry (truck/lorry) Object count: 78 Approximate location: Commerce/Market intersection Download link: http://www.solidfiles.com/d/b593d9493f/ Download link for all mappings: http://www.solidfiles.com/d/7f07ffd60b/ Well, there you go, guys! Hope that these things will come in handy. Of course, any donations are much appreciated :]
    1 point
  2. ... - переменное количество аргументов. Почитать можно например здесь или здесь (на англ.). Если коротко, при неопределённом количестве можно вставить в конец списка многоточие (тем самым пропустить перечисление параметров через запятую) и использовать в функции. В данном случае можно поступить таким образом: local args = { ... } outputDebugString ( eventName .. ", " .. tostring ( args [ 1 ] ) .. ", " .. tostring ( args [ 2 ] ) ) -- по аналогии с triggerServerEvent: args[1] - theElement, args[2] - первый аргумент из списка аргументов (и так до бесконечности) -- или: outputDebugString ( eventName .. ", " .. inspect ( args ) ) -- альтернативный вариант, если нужны все аргументы Либо же сразу всё через iprint(...) вывести в дебаг.
    1 point
  3. Welcome to the forums @felipe19311 Moving this into a better section for you to get the help you need
    1 point
  4. thePed = client() Why is there a curly-brackets?
    1 point
  5. You have omitted the line number and script filename from the error message. In the script excerpt there is no call to a global variable called "client". Could you please paste the entire error message? Best is a screenshot. I know it is annoying but you are making my life hard if you are leaving information out.
    1 point
  6. Yes, replace the script as you have written down. Don't worry. I wanted to make you aware how important it is to think about oneself. You have asked the right question. I will help you finish this script.
    1 point
  7. Hi, welcome to the forums! Your thread has been moved to a more language-specific section so you can get better assistance in your native language.
    1 point
  8. Fix the server script this way: addEvent("onVehicleWindowOpenRequest", true); addEventHandler("onVehicleWindowOpenRequest", root, function(wndid) triggerClientEvent("open", client, wndid); end ); --- Your way of creating these errors is peculiar. Who even told you to use the onPlayerResourceStart event this way? Did somebody else teach you this? Please ask before you use new things that you do not understand. Scripting is not wizardry. Also, I do not like the way you just copy paste the code without thinking how to generalize it. For instance, you should not have created 4 copies of the exactly same event handler because one could do all of the tasks. I hope you will learn the way of code sharing in the future. I cannot teach you this because it takes spirit on your side to want to improve yourself which is not easy. Also you might have a longer path before yourself. Please mind yourself that this forum is about scripting help related to small questions as hints, not about creating the entire resource for you. Hopefully you understand and try to collect your mind on this issue. What have I showed you that you can already learn from? Take a breath, don't feel overburdened. This is a lot for the beginning but I hope you actually have learned something that sticks.
    0 points
×
×
  • Create New...