Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 17/02/22 in all areas

  1. My bad, I was trying to make a function for every marker, it caused a lot of problems, this is better than the 200 lines of code that I made, thank you!
    1 point
  2. you can limit it by using root and using if command actually so you can handle it in a single eventhandler The nil error could possibly be because mark1 has not been created yet example: function markerHandler(hitElement, matchingDimension) if(getElementType(hitElement) == "player") then if(source == mark1) then --codes here for mark1 end if(source == mark2) then --codes here for mark2 end end end addEventHandler("onClientMarkerHit", root, markerHandler)
    1 point
×
×
  • Create New...