Jump to content

LOOah

Members
  • Content Count

    49
  • Joined

  • Last visited

Community Reputation

3 Neutral

About LOOah

  • Rank
    Rat

Recent Profile Visitors

186 profile views
  1. im using setStreamable to make train move
  2. no errors no working :~... To be clear and everyone understands what I want to do, so I have a train that runs by itself on the tracks and keeps going all by itself, and I just want to do at each station in the LS / SF / LV Marker where the train would he stopped for X time, but the first thing I wants to do is that when he hits the marker, although I have a message about it in this case, "Train Stopped", although even it does not work, the earlier solutions would work if I was driving this train, but it drives by itself so here's the problem. I gave it a cuboid that is "stuck" to
  3. Just remember that I mean that there is an outputChatBox when the train enters the marker itself, and we do not steer it, because when I create a train from the admin panel and drive it, I also have it in my chat
  4. so there is no errors now when i add IF but this not working... this is video when my train ( cuboid ) hit rectangle there is no output on that https://streamable.com/hlmvld even try to do this on MARKER but not working too local marker = createMarker(2548.81494, 2573.95142, 14.99850-5, "cylinder", 15, 255, 0, 0, 50) function enter ( targetElem, matchingDimension ) if getElementModel(targetElem) == 537 then outputChatBox ( "Train Stopped", root(), 255, 255, 109 ) end end addEventHandler ( "onMarkerHit", marker, enter )
  5. so i did something like that but im to stupid to make it working local stop = createColRectangle ( 2541, 2557, 10, 25 ) function enter ( targetElem, matchingDimension ) getElementModel(targetElem) == 537 then outputChatBox ( "Train Stopped", getRootElement(), 255, 255, 109 ) end end addEventHandler ( "onColShapeHit", stop, enter ) and error is in this line @Lergen getElementModel(targetElem) == 537 then unexpected symbol near '=='
  6. O i have attached cuboid, but how i can make information when train hit marker i will have output on chat?
  7. Hello can someone tell me how i can attached colsphere to moving vehicle, i trying to do moving train and when train hitmarker train will stop but i dont really know how i can attach sphere to train
  8. LOOah

    Working Train

    Someone something ?
  9. LOOah

    Working Train

    Hello i have train script but so far i have only train and this train is driving around map i want to do that when train is on station in LS/LV/SF train stopped and people can enter train on passager and be transported to another city help
  10. client local window1 = guiCreateWindow(0.22, 0.22, 0.57, 0.61, "bla", true) guiWindowSetSizable(window1, false) guiSetVisible(window1,false) local button1 = guiCreateButton(0.03, 0.83, 0.94, 0.15, "123", true, window1) local text1 = guiCreateLabel(0.03, 0.07, 0.94, 0.75, "321", true, window1) guiLabelSetHorizontalAlign(text1, "center", false) addEvent("showGUI",true) addEventHandler("showGUI",getRootElement(), function () if ( guiGetVisible(window1) == false ) then guiSetVisible(window1,true) showCursor(true) end end) local function guzik() guiSetVi
  11. hello i found on internet that script that makes your vehicle more damage proof but when i start this script my tires wont pops out so how i can add or delete sth to be able to shoot and flat tire? local weapon_table = { -- model, id [30] = { [422]=10, --Bobcat [596]=9, --PoliceLS }, } function getElementSpeed(theElement, unit) -- Check arguments for errors assert(isElement(theElement), "Bad argument 1 @ getElementSpeed (element expected, got " .. type(theElement) .. ")") local elementType = getElementType(theElement) assert(elementType == "player" or elementT
  12. what are you talking about i have panel in panel in panel and then in this panel is panel xd
  13. if I remember correctly this is an old gamemode 0.5 in which there was no m4 / ak split ammunition only as assalut ammo I think it is https://www.moddb.com/mods/mtadayz/downloads/server-files-056-stable http://dayzsa.comunidades.net/mta-dayz-055-full-version
×
×
  • Create New...