Jump to content

Anubhav

Members
  • Posts

    2,277
  • Joined

  • Last visited

Everything posted by Anubhav

  1. Anubhav

    Vehicle aim

    Is it possible to get vehicle's aim? I din't find any function, please help me to get the functions. I'm trying to create a image there, and I saw this in MTA Battlefield #1/2 server. Thank you for helping!
  2. A old server, Community of Social Gaming. Now it's NGC, New Gaming Community
  3. https://community.multitheftauto.com/ind ... s&id=10515 See NGC server's ammunation image. This is that. ( tazer one a.k.a silenced )!
  4. Your script also has the idea of CSG script. And I din't find that img, link please and tell me where on it.
  5. http://gta.wikia.com/Minigun I mean silenced by tazer, lol.
  6. Epic, pictures from CSG resources.. Tazer picture clearly proves it.
  7. For me worked on, 2.5 ghz( my laptop's ).. But still might be different for others.. and why is the computer speed need to be so good? You 2 guys, please erease yourselves from the forum... Like IYAMA said, you need to test, even 1GHZ may be enought if the server load is enought low. Oh and to mention, GHZ is no real parameter alone, do some background research on the processors itself, the transitor ammout is the other big part of the meal. A good examle of this is the 2GHz Quad my LG G2 phone has, is not even close to a 10year old 1GHZ dual core PC CPU. (Okay, maybe not that exteme, but yeah.) To do some short explanation (unnacurate, but useful): Thank you for explaining me.
  8. Thanks alot, this will make my work 100x easier. BTW: How to install this? This is my first OOP library :3
  9. The directory is for unpacked folder only. Admin -> Open admin.zip -> do what he told
  10. For me worked on, 2.5 ghz( my laptop's ).. But still might be different for others.. and why is the computer speed need to be so good?
  11. I agree with him, good enough R.A.M. But it also depends on what things you will do on server. If resource usage is alot then 3rd one, if they have good performance then 2nd one ( small player base ). 3rd one would be best if resource usage is less and around 20-30 players.
  12. It might be a bug but please show the admin panel -> resources -> ss of state of ZA-system and the error!
  13. Please make a test server, so I and other customers can see how good is the ping and how fast is it. I want to see it!
  14. Anubhav

    Locations..

    No problem, next time try yourself.
  15. Anubhav

    Locations..

    local locationtest = { {2422.3,-2261.6,16}, {1758.9,-2767.9,1.7}, {2493.3,-951.8,82.25}, {815.7,-1108.2,25.8}, {390.9,-2054.3,13.8}, {-719.05,-1938.8,8.35}, {-625.7,-2249.5,23.05}, {-1812.3,-168.5,18.2}, {-2659.5,1528.05,54.79}, {-1733.76,194.75,3.6}, {-2535.5,40.15,8.5}, {-1804.85,558.45,35.15}, {-752.6,-131.6,65.8}, } function locationSpawn() for i, v in ipairs( locationtest ) do local x, y, z = v[1], v[2], v[3] element = createPickup( x, y, z, 3, 1550 ) bl = createBlipAttachedTo( element, 37 ) end end addEventHandler("onResourceStart", getResourceRootElement( getThisResource ( ) ), createBag)
  16. local hospitalPositions = { --{name, x, y, z, r, cx, cy, cz} {"Los Santos Market", 1178.291015625, -1324.1884765625, 14.112809181213, 270.10269165039, 1219.5555419922, -1350.3894042969, 15.35106754303}, {"Los Santos Jefferson", 2033.3256835938, -1407.6052246094, 17.178876876831, 155.35185241699, 1995.7249755859, -1463.2962646484, 17.878829956055}, {"Flint County", -595.72711181641, -1077.2752685547, 23.602161407471, 266.27713012695, -591.57257080078, -1131.4045410156, 41.221168518066}, {"Red County", -942.13061523438, -533.36236572266, 25.953638076782, 310.40444946289, -964.28985595703, -549.99957275391, 36.916095733643}, {"Santa Flora", -2656.9560546875, 631.52252197266, 14.453125, 180.42951965332, -2575.8940429688, 561.90728759766, 21.209178924561}, {"Angel Pine", -2202.5417480469, -2254.626953125, 30.681533813477, 216.4725189209, -2200.2456054688, -2275.5190429688, 38.479064941406}, {"Montgomery", 1244.2723388672, 331.79971313477, 19.5546875, 334.32315063477, 1272.0018310547, 345.42361450195, 30.568145751953}, {"Blueberry", 207.5835723877, -62.355804443359, 1.7481514215469, 179.15745544434, 231.66580200195, -91.108108520508, 18.604141235352}, {"Fort Carson", -318.32772827148, 1052.3748779297, 20.340259552002, 330.99075317383, -293.86444091797, 1075.7722167969, 20.491537094116}, {"Las Venturas Airport", 1604.7628173828, 1821.8123779297, 10.8203125, 352.52377319336, 1570.9233398438, 1859.9248046875, 11.351891517639}, {"Las Payasadas", -251.56652832031, 2602.4379882813, 62.858154296875, 311.32571411133, -226.53842163086, 2567.9504394531, 69.399459838867}, {"El Quebrados", -1515.0689697266, 2521.9731445313, 55.841911315918, 359.86227416992, -1506.4434814453, 2546.1689453125, 56.440139770508} }; function onWasted(totalAmmo, killer, killerWeapon, bodypart, stealth) if not( isGuestAccount (getPlayerAccount(source)) ) then local theSkin = getPedSkin(source) local theTeam = getPlayerTeam(source) local theWeapon = getPedWeapon (source) local weaponAmmo = getPedTotalAmmo (source) local px, py, pz = getElementPosition(source) local nearest = 1 for k, v in pairs(hospitalPositions) do if(getDistanceBetweenPoints3D(v[2], v[3], v[4], px, py, pz) < getDistanceBetweenPoints3D(hospitalPositions[nearest][2], hospitalPositions[nearest][3], hospitalPositions[nearest][4], px, py, pz))then nearest = k end end fadeCamera(source, false, 2) setTimer( function( source ) setCameraMatrix(source, hospitalPositions[nearest][6], hospitalPositions[nearest][7], hospitalPositions[nearest][8], hospitalPositions[nearest][2], hospitalPositions[nearest][3], hospitalPositions[nearest][4]) fadeCamera(source, true, 2) setTimer( function( source ) fadeCamera(source, false, 2) end, 2000, 1, source) end, 2000, 1, source) setTimer( function( source ) spawnPlayer(source, hospitalPositions[nearest][2], hospitalPositions[nearest][3], hospitalPositions[nearest][4], hospitalPositions[nearest][5], theSkin, 0, 0, theTeam) giveWeapon(source, theWeapon, weaponAmmo) setCameraTarget(source) end, 6000, 1, source) end end addEventHandler ("onPlayerWasted", root, onWasted)
  17. I bet MTA:SA is in C# or C++. + Corona is also there for android which is famous too. I want this but it's realy hard and far from possible.
  18. setVehicleHandling EDIT: Thought vehicle handling :-/
×
×
  • Create New...