Jump to content

IIYAMA

Moderators
  • Posts

    6,097
  • Joined

  • Last visited

  • Days Won

    218

Everything posted by IIYAMA

  1. tostring()
  2. IIYAMA

    invisible :3

    https://wiki.multitheftauto.com/wiki/Se ... tagShowing ? addCommandHandler ("shownametag", function (player) setPlayerNametagShowing ( player,not isPlayerNametagShowing ( player )) end)
  3. you also have this lagg when you run none gamemode?
  4. 0 fps is lagg.
  5. removed. (reason: edited post before)
  6. yes, Read Client/server syntax 2 carefully. (wiki mta) server
  7. I don't know why, why don't you sort the table? and how many items do you have in there?
  8. succes met het leren er van.
  9. We hebben het hier over het gebruik van de resource door een admin(speler), niet of een resource admins rechten nodig heeft.
  10. Recommended to change it to setPedGrafity, so it will still be working in the future.
  11. any time
  12. I think a bug.
  13. Maybe study first the object creation syntax. object createObject ( int modelid, float x, float y, float z, [ float rx, float ry, float rz, bool isLowLOD = false ] ) set last argument to true. and https://wiki.multitheftauto.com/wiki/GetLowLODElement and https://wiki.multitheftauto.com/wiki/SetLowLODElement and https://wiki.multitheftauto.com/wiki/IsElementLowLOD
  14. https://wiki.multitheftauto.com/wiki/SetVehicleColor for i=1, #UtilityServiceCar do local vehicle= UtilityServiceCar[i] if isElement(vehicle) then setVehicleColor (vehicle, 100,100,100 ) -- r1, g1, b1, [int r2, int g2, int b2,] [int r3, int g3, int b3,] [int r4, int g4, int b4] else UtilityServiceCar[i]= nil end end
  15. for k, player in ipairs(getElementsByType("player")) do local circlearea = createColCircle(0, 0, 5) if circlearea then attachElements(circlearea, player) end bindKey(player, "i", "down", "checkdriver") end
  16. Did you ever tried to fix it by your self? Do even know how your own code works? Did you ever wrote a line by your self? and so "no" from who are those lines? Je probeert het niet eens, -__-" dan los je het zelf maar op.
  17. addEventHandler("onMarkerHit",createMarker(2121, 1402,10,"cylinder",2,0,255,0), function ( player ) if getElementType ( player ) == "player" then local bus = createVehicle ( 431, 2107, 1395, 10 ) warpPedIntoVehicle ( player, bus ) outputChatBox ( "you can earn money by driving to the markers",player )--< thx #Mr.Pres[T]ege (player) local myMarker = createMarker ( 2038.26, 1514.01, 9, "cylinder", 1.5, 255, 255, 0, 170,player ) local Blip = createBlip ( 2038.26, 1514.01, 13, 41, 0, 0, 0, 255, 0, 99999, player) end end,false) It must be working.... Never had trouble with that, I only don't know what number it chooses, but I think the server will go for default.
  18. It was server side.... and you didn't tell us what went wrong. We can't do anything with this information.
  19. addEventHandler("onMarkerHit",createMarker(2121, 1402,10,"cylinder",2,0,255,0), function ( player ) if getElementType ( player ) == "player" then local bus = createVehicle ( 431, 2107, 1395, 10 ) warpPedIntoVehicle ( player, bus ) outputChatBox ( "you can earn money by driving to the markers" ) local myMarker = createMarker ( 2038.26, 1514.01, 9, "cylinder", 1.5, 255, 255, 0, 170 ) createBlip ( 2038.26, 1514.01, 13, 41, 0, 0, 0, 255, 0, 99999, player) --name = getPlayerName ( source ) setElementVisibleTo ( myMarker, root, false ) setElementVisibleTo ( myMarker, player, true ) end end,false)
  20. for k,v in pairs(getElementsByType("player")) do bindKey(v, "o", "down", "pullover") end local circlearea = createColCircle ( 0, 0, 10 ) addCommandHandler("pullover", function ( su, command) local vehicle =getPedOccupiedVehicle ( su ) if vehicle and isElementWithinColShape ( vehicle, circlearea ) then setVehicleEngineState ( vehicle, false ) end end)
  21. btw you can remove this one: and getElementType ( vehicle ) == "vehicle" not required in the script, (sorry)
  22. Who is making the dutch language ?
  23. Skipper was probably confused with the event "onMarkerHit".
  24. yes possible.* https://wiki.multitheftauto.com/wiki/Se ... onProgress If you are good in scripting, you also can turn them backwards. Shooting isn't possible unless you are able to use custom weapons and create it at all client's.*
×
×
  • Create New...