• Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Marcus15

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Please help!
  2. This is the script nut is mot working function localRoot () if isPedInVehicle ( source ) then local vehicle = getPedOccupiedVehicle(source) local x, y, z = getElementPosition ( vehicle ) local radar = createMarker (0+x, 0+y, 0+z, "cylinder", 2.0, 255, 0, 0, 150) local check = radar attachElements(check, vehicle, 0, 5, -0.1) outputChatBox ( "A szkript lefutott!") end end addEventHandler ( "onPlayerVehicleEnter", getRootElement(), localRoot ) function VehicleHit(hitElement,matchingDimension) if getElementType(hitElement)=="vehicle" then outputChatBox ( "A marker jó!") end end addEventHandler("onMarkerHit",radar,VehicleHit) create marker and if the the vehicle hit then outputChatBox ( "A marker jó!") but Bad Argument in addEventHandler 2 element got nil
  3. please write example because i'm tried it once
  4. How can i make marker that can only be hit by object (not player on foot, and not vehicle!)