السلام عليكم
ابي هنا الكود انه اي لاعب بس يلمس الماركر يحصل على الفلوس لحاططها
بس الماركر ما تظهر شو الحل
الكود هذا هو:
local theMarker = createMarker (2500.21802,-1674.24170,13.34984, "cylinder", 1.5, 255, 255, 0, 170 )
addEventHandler("onMarkerHit", theMarker,
function (thePlayer)if
( getElementType ( thePlayer ) == 'player' ) then
setPlayerMoney(root, 1000)
end
end
end
)