Professional Posted November 9, 2014 Share Posted November 9, 2014 السلام عليكم ابي هنا الكود انه اي لاعب بس يلمس الماركر يحصل على الفلوس لحاططها بس الماركر ما تظهر شو الحل الكود هذا هو: 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 ) Link to comment
' A F . Posted November 9, 2014 Share Posted November 9, 2014 local theMarker = createMarker ( -2412.3999023438, -605.56671142578, 132.5625, "cylinder", 1.5, 255, 255, 0, 170 ) addEventHandler("onMarkerHit", theMarker, function (thePlayer) if getElementType ( thePlayer ) == 'player' then setPlayerMoney( thePlayer, 1000) end end ) لاتنسى تحط الاحداثيات حقتك Link to comment
nxFairlywell Posted November 9, 2014 Share Posted November 9, 2014 local theMarker = createMarker( 2500.21802,-1674.24170,13.34984, "cylinder", 1.5, 255, 255, 0, 170 ) addEventHandler("onMarkerHit", theMarker, function ( element ) if ( getElementType ( element ) == 'player' ) then givePlayerMoney(element, 1000) end end ) Link to comment
Professional Posted November 10, 2014 Author Share Posted November 10, 2014 فاهم عليكم بس الدائره ما تطلع Link to comment
</Mr.Tn6eL> Posted November 10, 2014 Share Posted November 10, 2014 local theMarker = createMarker( 2500.21802,-1674.24170,13.34984, "cylinder", 1.5, 255, 255, 0, 170 ) addEventHandler("onMarkerHit", theMarker, function ( element ) if ( getElementType ( element ) == 'player' ) then givePlayerMoney(element, 1000) end end ) Link to comment
ALw7sH Posted November 10, 2014 Share Posted November 10, 2014 تأكد من احداثياتك وتأكد انك تشغل السكربت ويشتغل Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now