Jump to content

LOOah

Members
  • Content Count

    51
  • Joined

  • Last visited

Community Reputation

3 Neutral

About LOOah

  • Rank
    Snitch

Recent Profile Visitors

217 profile views
  1. good idea with the ped that maybe will work, how i can get ped in vehicle using createped or what? @Tekken
  2. Someone please help me i don't know what to do ;(
  3. im using setStreamable to make train move
  4. 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
  5. 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
  6. 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 )
  7. 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 '=='
  8. O i have attached cuboid, but how i can make information when train hit marker i will have output on chat?
  9. 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
  10. LOOah

    Working Train

    Someone something ?
  11. 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
  12. 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
  13. 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
×
×
  • Create New...