Jump to content

Dzsipszi

Members
  • Posts

    59
  • Joined

  • Last visited

Everything posted by Dzsipszi

  1. Heres another problem: [15:17:10] INFO: Hero-Inventory: Group name Drogok added. when i try to open inventory: WARNING: heroinventory\client\c_invenotry_gui.lua:59: Bad usage @ 'dxDrawImage' [Can't load file] and i change the picture size to 128x128 to. please help.
  2. Hello! I found a very good script and i want to this script to my rpg server. If somebody have free time please do this for me and i pay a good money for it. Here is the vid:
  3. Hello! I need a paid scripter for my rpg server, for this systems: - Fuel-system - Job-system if anybody has the time for scripting for price, please contact me. Skype: dzsipsz91
  4. Hello everybody! I found a good script for my server but something went wrong when i use it. This is not my script but please somebody can help me? [06:25:56] WARNING: jarmu-neon/neon.lua:43: Bad argument @ 'getElementData' [Exp ected element at argument 1, got boolean] and here is the script --determine whether color change can be made with a command cmd = true --the command to use thecmd = "neon" function neon(plr,cmd,r,g,b,a) if not r then openGui(plr) return true end if tonumber(tostring(r)) == nil then r,g,b,a = getColorFromString(r) end if not a then a = 200 end veh = getPedOccupiedVehicle(plr) if veh and r and g and b then model = getElementModel(veh) if canHaveNeon(veh) then if haveNeon(veh) then setNeonColor(veh,tonumber(r),tonumber(g),tonumber(b)) end end end end if cmd then addCommandHandler(thecmd,neon) end function setNeonColor(vehicle,r,g,b) setElementData(vehicle,"neonlight",tostring(r)..","..tostring(g)..","..tostring(b)..","..tostring(a)) for i,mark in ipairs(getElementsByType("marker")) do local type = getMarkerType(mark) if type == "corona" then local data1 = getElementData(vehicle,"neonMarker1") local data2 = getElementData(vehicle,"neonMarker2") if data1 == mark or data2 == mark then setMarkerColor(mark,r,g,b,80) end end end return true end function haveNeon(vehicle) local data = getElementData(vehicle,"haveneon") if data then return true else return false end end function addNeon(vehicle,state) if getElementType(vehicle) == "vehicle" then if state then setElementData(vehicle,"haveneon",true) x,y,z = getElementPosition(vehicle) -- local exist = nil for i,mark in ipairs(getElementsByType("marker")) do data = getElementData(vehicle,"neonMarker1") if data == mark then local exist = mark end end if not exist then local marker1 = createMarker(x,y,z,"corona",2,0,0,0,0) attachElements(marker1,vehicle,0,-1,-1.2) setElementData(vehicle,"neonMarker1",marker1) local marker2 = createMarker(x,y,z,"corona",2,0,0,0,0) attachElements(marker2,vehicle,0,1,-1.2) setElementData(vehicle,"neonMarker2",marker2) end -- return true else setElementData(vehicle,"haveneon",false) setElementData(veh,"neonlight","off!!!") -- for i,mark in ipairs(getElementsByType("marker")) do local type = getMarkerType(mark) if type == "corona" then local data1 = getElementData(vehicle,"neonMarker1") local data2 = getElementData(vehicle,"neonMarker2") if data1 == mark or data2 == mark then setMarkerColor(mark,0,0,0,0) end end end -- return true end else return false end end function canHaveNeon(veh) model = getElementModel(veh) if veh and getElementType(veh) == "vehicle" then x = mayHaveNeon(model) return x else return false end end function mayHaveNeon(model) if model ~= 592 and model ~= 511 and model ~= 584 and model ~= 512 and model ~= 593 and model ~= 417 and model ~= 487 and model ~= 553 and model ~= 488 and model ~= 563 and model ~= 476 and model ~= 519 and model ~= 460 and model ~= 469 and model ~= 513 and model ~= 472 and model ~= 473 and model ~= 493 and model ~= 595 and model ~= 484 and model ~= 430 and model ~= 453 and model ~= 452 and model ~= 446 and model ~= 454 and model ~= 403 and model ~= 514 and model ~= 443 and model ~= 515 and model ~= 455 and model ~= 406 and model ~= 486 and model ~= 578 and model ~= 532 and model ~= 524 and model ~= 498 and model ~= 609 and model ~= 568 and model ~= 457 and model ~= 508 and model ~= 571 and model ~= 539 and model ~= 606 and model ~= 607 and model ~= 485 and model and model ~= 581 and model ~= 509 and model ~= 481 and model ~= 462 and model ~= 521 and model ~= 463 and model ~= 510 and model ~= 522 and model ~= 461 and model ~= 448 and model ~= 468 and model ~= 586 and model ~= 485 and model ~= 552 and model ~= 431 and model ~= 438 and model ~= 437 and model ~= 574 and model ~= 525 and model ~= 408 and model ~= 416 and model ~= 433 and model ~= 427 and model ~= 490 and model ~= 528 and model ~= 407 and model ~= 544 and model ~= 523 and model ~= 470 and model ~= 596 and model ~= 597 and model ~= 598 and model ~= 599 and model ~= 432 and model ~= 601 and model ~= 428 and model ~= 499 and model ~= 449 and model ~= 537 and model ~= 538 and model ~= 570 and model ~= 569 and model ~= 590 and model ~= 441 and model ~= 464 and model ~= 501 and model ~= 465 and model ~= 564 and model ~= 594 then return true else return false end end function deactivateNeon(vehicle) if getElementType(vehicle) == "vehicle" then setElementData(vehicle,"neonlight","off!!!") for i,mark in ipairs(getElementsByType("marker")) do local type = getMarkerType(mark) if type == "corona" then local data1 = getElementData(vehicle,"neonMarker1") local data2 = getElementData(vehicle,"neonMarker2") if data1 == mark or data2 == mark then setMarkerColor(mark,0,0,0,0) end end end return true else return false end end function openGui(plr) local veh = getPedOccupiedVehicle(plr) if haveNeon(veh) then triggerClientEvent(plr,"openNeonGui",root) end end addEventHandler("onPlayerJoin",root,function() for i,veh in ipairs(getElementsByType("vehicle")) do data = getElementData(veh,"neonlight") setElementData(veh,"neonlight",data) end end) for i,veh in ipairs(getElementsByType("vehicle")) do deactivateNeon(veh) end addEvent("closeNeonGui",true) addEventHandler("closeNeonGui",root,function(r,g,b) local veh = getPedOccupiedVehicle(source) setNeonColor(veh,r,g,b) end)
  5. I only see the Inventory text here is the image: http://tinyurl.com/co6x6cb please help
  6. I found a very good script and its not mine. It has a bug: if you are in the vehicle you see the manual and if your friend enter a nearby vehicle or next to you in the car, the manual is gone and i dont know why. The guy who release this script stopped the updates in 2010-08. Here is the code: local playerGear = 0 local playerVehicleSeat = 0 function setPlayerGear( key ) if key == "num_add" then if playerGear < 5 then playerGear = playerGear + 1 playSoundFrontEnd( 4 ) end elseif key == "num_sub" then if playerGear > -1 then playerGear = playerGear - 1 playSoundFrontEnd( 4 ) end end end function setPlayerGearByCmd( command ) if command == "gearu" then setPlayerGear( "num_add" ) elseif command == "geard" then setPlayerGear( "num_sub" ) end end function createImage() gearbox = guiCreateStaticImage(0.8232,0.5508,0.1172,0.1563,"gearbox.png",true) marker = guiCreateStaticImage(0.4667,0.4667,0.0833,0.0833,"marker.png",true,gearbox) end function manual() local vehicle = getPedOccupiedVehicle( getLocalPlayer() ) if vehicle and playerVehicleSeat == 0 then local vehicleGear = getVehicleCurrentGear( vehicle ) local velX, velY, velZ = getElementVelocity( vehicle ) local vType = getVehicleType( vehicle ) local velX2 = math.abs( velX ) local velY2 = math.abs( velY ) local velZ2 = math.abs( velZ ) local visible local dvel if playerGear == 1 then dvel = 1.055 elseif playerGear == 2 then dvel = 1.012 elseif playerGear == 3 then dvel = 1.005 elseif playerGear == 4 then dvel = 1.0025 end if vType ~= "Plane" and vType ~= "Helicopter" and vType ~= "Boat" and vType ~= "Trailer" and vType ~= "Train" and vType ~= "BMX" then visible = true if playerGear > 0 then toggleControl( "accelerate", true ) toggleControl( "brake_reverse", false ) if playerGear < vehicleGear then if math.max( velX2, velY2, velZ2 ) ~= velZ2 then local x, y = velX / dvel, velY / dvel setElementVelocity ( vehicle, x, y, velZ ) end end elseif playerGear == 0 then toggleControl( "accelerate", false ) toggleControl( "brake_reverse", false ) elseif playerGear == -1 then toggleControl( "accelerate", false ) toggleControl( "brake_reverse", true ) local state = false local keys = getBoundKeys( "accelerate" ) for key,_ in pairs(keys) do if getKeyState( key ) then state = true end end local keys2 = getBoundKeys( "brake_reverse" ) for key,_ in pairs(keys2) do if getKeyState( key ) then state = true end end if state then setControlState( "accelerate", false ) setControlState( "brake_reverse", true ) else setControlState( "accelerate", false ) setControlState( "brake_reverse", false ) end end if vehicleGear < playerGear then if math.max( velX2, velY2, velZ2 ) ~= velZ2 then local s = ( ( ( playerGear - vehicleGear ) / 100 ) + 1 ) s = s * ( ( ( playerGear - vehicleGear ) / 120 ) + 1 ) local x, y = velX / s, velY / s setElementVelocity ( vehicle, x, y, velZ ) end end else visible = false toggleControl( "accelerate", true ) toggleControl( "brake_reverse", true ) end if visible then guiSetVisible( gearbox, true ) if playerGear == -1 then guiSetPosition( marker, 0.1583, 0.275, true ) elseif playerGear == 0 then guiSetPosition( marker, 0.4667, 0.4667, true ) elseif playerGear == 1 then guiSetPosition( marker, 0.3583, 0.275, true ) elseif playerGear == 2 then guiSetPosition( marker, 0.3583, 0.6417, true ) elseif playerGear == 3 then guiSetPosition( marker, 0.5583, 0.275, true ) elseif playerGear == 4 then guiSetPosition( marker, 0.5583, 0.6417, true ) elseif playerGear == 5 then guiSetPosition( marker, 0.7583, 0.275, true ) end else guiSetVisible( gearbox, false ) end else playerGear = 0 guiSetVisible( gearbox, false ) end end function seat( player, seat ) playerVehicleSeat = seat end bindKey( "num_add", "up", setPlayerGear ) bindKey( "num_sub", "up", setPlayerGear ) addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), createImage ) addEventHandler( "onClientRender", getRootElement(), manual ) addEventHandler( "onClientVehicleEnter", getRootElement(), seat ) addCommandHandler( "gearu", setPlayerGearByCmd ) addCommandHandler( "geard", setPlayerGearByCmd ) so the bug again: if a player enter a vehicle nearby the manual is gone. I need this script, and the debugscript 3 dont help so much. very old script
  7. now i add the radius and removed 0.25 check this: http://pastebin.com/TqV603PJ should working?
  8. removeWorldModel(1283, 1000, 346.1172, -1643.9219, 35.3203, 0.25) like this?
  9. can you just tell me how to add radius example this line here i hope you help me: removeWorldModel(1283, 346.1172, -1643.9219, 35.3203, 0.25)
  10. should this script working? http://pastebin.com/Km0aTmpp
  11. http://pastebin.com/f8b9Shtu im waiting for your reply..
  12. I try to find out how to remove world models/objects with editor i found a resource for this https://community.multitheftauto.com/ind ... ls&id=5993 but its not worked for me and later... i found an editor for samp and i start removing traffic lights in LS and before i finnish and quit i saved the code of the removed traffic lights: RemoveBuildingForPlayer(playerid, 1283, 1193.1328, -1851.4688, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1174.1016, -1835.5000, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1411.2188, -1872.9297, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1405.1563, -1871.6016, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1373.4609, -1872.2266, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1388.3906, -1855.6719, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1518.8047, -1873.3828, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1311.2734, -1746.1172, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1345.7656, -1740.6172, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1325.7109, -1732.8281, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1335.1953, -1731.7813, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1357.5156, -1732.9375, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1376.5156, -1731.8516, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1388.3594, -1745.4453, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1441.8594, -1733.0078, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1403.3672, -1733.0078, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1414.4141, -1731.4297, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1430.1719, -1719.4688, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1513.2344, -1732.9219, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1428.9375, -1605.8203, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1416.5859, -1591.7422, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1428.8984, -1577.1328, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1443.2031, -1592.9453, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1439.6563, -1440.2578, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1453.6016, -1455.9063, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1455.2578, -1427.5156, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1469.5625, -1441.5391, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1516.1641, -1591.6563, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1530.8828, -1883.2344, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1553.9844, -1873.0703, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1539.9297, -1871.6406, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1568.9297, -1855.1094, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1585.6797, -1871.6719, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1568.8828, -1745.4766, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1545.7656, -1731.6719, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1530.1172, -1717.0078, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1582.6719, -1733.1328, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1690.0938, -1796.8516, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1702.9141, -1813.1094, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1688.8672, -1745.4688, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1672.0156, -1731.5234, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1690.2109, -1718.5781, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1701.9922, -1732.8750, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1528.9531, -1605.8594, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1690.2813, -1607.8438, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1544.6250, -1593.0313, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1664.9063, -1593.1250, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1646.6016, -1591.6875, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1658.5313, -1583.3203, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1676.7813, -1591.6094, 15.5859, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1658.5469, -1533.6172, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1658.7344, -1469.3750, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1657.6016, -1449.5781, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1646.4375, -1441.4531, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1670.3594, -1480.9375, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1667.4688, -1441.3672, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1703.9063, -1593.6719, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1744.4922, -1598.3359, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1700.8672, -1440.3203, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1715.4453, -1428.4766, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1731.2188, -1441.3281, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1753.4453, -1610.8281, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1765.0781, -1604.1875, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1767.8359, -1455.5859, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1762.8047, -1443.7578, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1781.3906, -1450.5625, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1722.8750, -1302.0391, 15.6172, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1711.9766, -1291.9453, 15.5625, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1453.2578, -1168.8672, 25.8672, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1463.3984, -1159.5156, 25.9922, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1488.9531, -1162.4219, 26.1484, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1479.9297, -1152.8438, 26.2734, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1479.3047, -1042.0781, 25.7500, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1575.4688, -1152.5859, 26.1953, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1585.8828, -1162.0313, 26.1328, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1490.2969, -1031.6641, 25.9922, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1716.8672, -1169.8672, 25.8984, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1707.0625, -1159.1016, 25.8359, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1948.2344, -1931.6641, 15.5078, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1975.6953, -1933.0781, 15.5078, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1962.1953, -1919.2266, 15.5547, 0.25); RemoveBuildingForPlayer(playerid, 1315, 2084.5313, -1905.4922, 15.8125, 0.25); RemoveBuildingForPlayer(playerid, 1315, 2092.9141, -1891.3750, 15.8125, 0.25); RemoveBuildingForPlayer(playerid, 1315, 2078.6328, -1883.3281, 15.8125, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1852.5938, -1351.9844, 15.6406, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1862.7188, -1340.1953, 15.6406, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1976.1328, -1341.8125, 26.0469, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1846.2422, -1329.1094, 15.6406, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1987.8672, -1352.6172, 26.2109, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1999.0781, -1340.0625, 26.0313, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2055.7188, -1341.5000, 26.1094, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2066.1641, -1329.9688, 26.0313, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2072.4531, -1351.8672, 26.0156, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2072.4219, -1312.1641, 26.0391, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2082.8906, -1300.2656, 26.0469, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1852.5391, -1272.3672, 15.5938, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1862.9453, -1260.1016, 15.6016, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1964.0703, -1261.4453, 25.9609, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1987.3984, -1260.3828, 26.0234, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1846.1641, -1249.5469, 15.6406, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1975.6484, -1249.5938, 26.2109, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2066.3594, -1290.2578, 26.0078, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2072.3984, -1271.7031, 26.0156, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2055.3516, -1261.4453, 26.1094, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2066.2578, -1249.8047, 26.0313, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2072.6172, -1232.4609, 26.0938, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2066.1406, -1210.5625, 26.0391, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2082.3672, -1220.2344, 26.1016, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1871.6563, -1147.4063, 26.1016, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1958.7031, -1140.3438, 28.1250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1974.6875, -1146.8516, 28.0625, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1878.4141, -1131.1016, 26.1016, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1862.1094, -1123.4922, 26.1016, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1966.2031, -1124.6875, 28.0078, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1969.2969, -1053.8906, 26.7109, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1984.2891, -1066.0391, 26.7109, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1981.4297, -1038.3672, 26.7109, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1995.0391, -1052.0391, 26.7109, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2055.3516, -1136.6875, 26.1250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2066.0781, -1124.8359, 25.9688, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2058.2813, -1085.2969, 26.9219, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2072.7422, -1146.7344, 26.0313, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2072.5313, -1103.0938, 26.9688, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2084.3359, -1095.1250, 27.1406, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1822.5703, -1763.2578, 15.5859, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1962.6016, -1823.5234, 15.5859, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1972.9922, -1811.4531, 15.5859, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1960.6094, -1802.0078, 15.5000, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1930.3750, -1753.1016, 15.5938, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1832.8359, -1751.5078, 15.5859, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1952.5156, -1751.3750, 15.5547, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1820.8359, -1741.1484, 15.5781, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1940.9063, -1741.1484, 15.6016, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1990.6094, -1752.8438, 15.5859, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2013.2891, -1751.7656, 15.5859, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2001.0391, -1740.8125, 15.6172, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2001.9219, -1683.6172, 15.5391, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2001.3594, -1665.5391, 15.5000, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2013.0703, -1671.8672, 15.6953, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1822.1563, -1623.5156, 15.6406, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1810.2031, -1612.9063, 15.6406, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1833.0234, -1611.4766, 15.6406, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1821.0313, -1601.2344, 15.6406, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1852.2109, -1476.9609, 15.7109, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1835.9063, -1461.4063, 15.7422, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1846.0469, -1449.8828, 15.9375, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1862.9453, -1460.4453, 15.7422, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2030.6875, -1612.9063, 15.6094, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2038.7266, -1601.0625, 15.6094, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2053.9297, -1611.4375, 15.6094, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1975.1328, -1466.7109, 15.4844, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1998.3438, -1460.2891, 15.5625, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2129.9453, -1397.0234, 26.0938, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2113.2578, -1395.6484, 25.9922, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2101.1563, -1384.8438, 26.0859, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2123.5703, -1384.0859, 25.9922, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2139.3047, -1383.5781, 26.0938, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2155.6875, -1384.9219, 26.2500, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2178.2422, -1383.9141, 26.2031, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2166.2109, -1373.1094, 26.1250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2155.7813, -1301.6016, 25.9844, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2167.8125, -1311.8203, 25.9219, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2166.1250, -1289.6875, 25.9922, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2178.0391, -1300.0156, 25.9922, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2213.0938, -1395.5938, 26.0703, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2201.1797, -1385.0781, 26.0391, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2224.1328, -1383.7813, 26.1484, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2259.7500, -1385.1172, 26.2500, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2282.3750, -1382.2734, 26.0938, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2260.1484, -1301.6484, 26.0078, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2270.0625, -1289.6875, 26.0156, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2271.7734, -1311.8203, 26.0000, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2176.0078, -1232.0781, 26.0234, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2164.1563, -1221.6016, 26.0391, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2174.5938, -1209.9453, 26.0234, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2186.4141, -1220.2109, 26.0078, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2176.4141, -1132.4453, 26.9688, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2166.2734, -1119.2266, 27.5703, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2187.0625, -1120.8125, 26.8203, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2190.4688, -1105.7188, 27.0703, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2200.8203, -1127.6641, 27.7109, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2225.6563, -1129.9297, 27.8438, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2218.2656, -1112.5234, 27.8359, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2259.9063, -1221.7734, 26.0234, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2259.9063, -1145.8359, 29.0547, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2272.1484, -1231.4844, 26.0000, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2269.9844, -1209.3516, 26.0391, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2271.9453, -1160.8906, 28.7266, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2282.1641, -1148.2578, 28.8672, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2080.9375, -1800.9453, 15.6172, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2082.2734, -1823.9141, 15.6016, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2069.2578, -1752.9141, 15.6953, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2081.1719, -1740.8984, 15.6172, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2093.5313, -1744.5938, 15.6172, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2094.6797, -1762.9531, 15.7266, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2104.4766, -1751.8281, 15.5938, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2082.0313, -1683.6719, 15.5000, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2070.3438, -1672.7344, 15.6953, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2081.2109, -1660.9453, 15.5391, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2082.2656, -1623.8828, 15.6094, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2070.1484, -1612.9219, 15.6094, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2083.8047, -1611.7500, 15.6094, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2103.8359, -1612.7266, 15.6016, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2194.3984, -1653.9531, 16.9844, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2208.8984, -1644.6563, 17.3750, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2186.1406, -1640.3672, 17.4453, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2199.5078, -1631.9297, 17.6797, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2092.9922, -1604.1563, 15.6016, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2113.5703, -1477.6953, 26.0859, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2100.9688, -1466.7188, 26.0469, 0.25); RemoveBuildingForPlayer(playerid, 1283, 2111.7578, -1449.9922, 26.0859, 0.25); RemoveBuildingForPlayer(playerid, 1315, 2347.9297, -1516.7969, 25.8906, 0.25); RemoveBuildingForPlayer(playerid, 1315, 2336.8203, -1491.3516, 26.2891, 0.25); RemoveBuildingForPlayer(playerid, 1315, 2295.9844, -1378.2813, 26.2734, 0.25); RemoveBuildingForPlayer(playerid, 1315, 2310.0547, -1376.9453, 26.2422, 0.25); RemoveBuildingForPlayer(playerid, 1315, 2349.8047, -1390.0469, 26.2578, 0.25); RemoveBuildingForPlayer(playerid, 1315, 2364.0859, -1378.8125, 26.2734, 0.25); RemoveBuildingForPlayer(playerid, 1315, 2308.9531, -1293.3281, 26.2109, 0.25); RemoveBuildingForPlayer(playerid, 1315, 2310.4844, -1158.8203, 29.1953, 0.25); RemoveBuildingForPlayer(playerid, 1315, 2316.3672, -1147.4297, 29.1797, 0.25); RemoveBuildingForPlayer(playerid, 1315, 2382.1094, -1167.7109, 29.9063, 0.25); RemoveBuildingForPlayer(playerid, 1315, 2378.4375, -1159.5156, 29.8047, 0.25); RemoveBuildingForPlayer(playerid, 1283, 798.3750, -1415.6719, 15.6328, 0.25); RemoveBuildingForPlayer(playerid, 1283, 807.9531, -1406.5391, 15.5703, 0.25); RemoveBuildingForPlayer(playerid, 1283, 786.9453, -1394.5703, 15.7031, 0.25); RemoveBuildingForPlayer(playerid, 1283, 918.3672, -1416.0938, 15.3906, 0.25); RemoveBuildingForPlayer(playerid, 1283, 907.0469, -1406.6094, 15.3906, 0.25); RemoveBuildingForPlayer(playerid, 1283, 928.0547, -1394.8438, 15.5156, 0.25); RemoveBuildingForPlayer(playerid, 1283, 798.3828, -1384.3516, 15.6094, 0.25); RemoveBuildingForPlayer(playerid, 1283, 918.2422, -1384.4141, 15.4844, 0.25); RemoveBuildingForPlayer(playerid, 1283, 798.0781, -1337.8516, 15.6016, 0.25); RemoveBuildingForPlayer(playerid, 1283, 918.0078, -1337.7813, 15.5391, 0.25); RemoveBuildingForPlayer(playerid, 1283, 791.8047, -1326.7734, 15.4922, 0.25); RemoveBuildingForPlayer(playerid, 1283, 807.9766, -1319.6563, 15.5469, 0.25); RemoveBuildingForPlayer(playerid, 1283, 796.8203, -1309.5469, 15.4609, 0.25); RemoveBuildingForPlayer(playerid, 1283, 927.9453, -1327.8750, 15.5859, 0.25); RemoveBuildingForPlayer(playerid, 1283, 907.9766, -1319.5469, 15.5859, 0.25); RemoveBuildingForPlayer(playerid, 1283, 942.9219, -1309.7969, 15.6328, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1043.8594, -1406.5547, 15.7109, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1061.6328, -1416.1172, 15.7109, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1052.8203, -1385.5469, 15.7109, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1073.1328, -1395.1094, 15.7813, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1043.1094, -1319.6406, 15.6172, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1053.0234, -1309.7813, 15.6172, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1063.0703, -1336.6875, 15.6328, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1063.3984, -1291.4063, 15.7109, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1068.1172, -1275.0938, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1043.0781, -1220.1406, 18.8984, 0.25); RemoveBuildingForPlayer(playerid, 1283, 1053.2344, -1231.1953, 18.8906, 0.25); RemoveBuildingForPlayer(playerid, 1283, 796.5156, -1162.9922, 25.3750, 0.25); RemoveBuildingForPlayer(playerid, 1283, 941.9375, -1159.1484, 25.8359, 0.25); RemoveBuildingForPlayer
  13. Same problem here... if i create a house with example sint 1 and another house with same interior i see the marker inside the house... HELP!
  14. function turnEngineOff ( loss ) if ( loss > 0 ) then setVehicleEngineState ( source, false ) if bindKey (source, "i", "down", engineSwitch, source) then setTimer ( engineSwitch ) outputChatBox ( "Someone has started the engine successfuly..." ) end, 10000, 1 ) end end addEventHandler ( "onVehicleDamage", getRootElement ( ), turnEngineOff ) maybe this works?
  15. Could it be possible to add delay to start engine while the player is in the car? Like someone bumped into a wall and he press W and he need to wait 10 seconds for start engine and the chance is 50% to start. And outboxchat to see everybody: Someone trying to start engine..., Someone has started the engine successful... or Someone failed to start engine... please? Because if you wrecked your car everytime you need to pull over and re-enter to your car... (nonrp) function turnEngineOff ( loss ) if ( loss > 0 ) then setVehicleEngineState ( source, false ) end end addEventHandler ( "onVehicleDamage", getRootElement ( ), turnEngineOff )
  16. Works fine! Thank you for help!!
  17. function turnEngineOff ( onVehicleDamage ) if VehicleDamage setVehicleEngineState ( theVehicle, false ) end end addEventHandler ( "onVehicleDamage", getRootElement ( ), turnEngineOff ) maybe this useful?
  18. Yes, and let the car start up again if we enter into it. Because this is a good method in order for us to avoid non-rp drivers and dont let get away them
  19. I need some help please! The car has to stop if it has injury function displayVehicleLoss(loss) local thePlayer = getVehicleOccupant(source) if(thePlayer) then -- Check there is a player in the vehicle outputChatBox("Your vehicle just lost " .. tonumber(loss) .. " health.", thePlayer) -- Display the message end end addEventHandler("onVehicleDamage", getRootElement(), displayVehicleLoss) And, let the car start up again if we enter into it...
  20. Thank you guys for help to me! The gate is working
  21. Amm... looks like its worked but... if i go closer i see 2 gate... 1 is your going up normally and 1 gate is stay in the ( 968, 1544.699, -1630.798, 13.100, 0, 90, 90 ) how can be made it to coded gate? like: /nyit 45612 for unlock & /zár for lock
  22. Same problem again... check the video and see my problem
×
×
  • Create New...