MA[S]RIY Posted February 16, 2017 Share Posted February 16, 2017 السلام عليكم انا ابي اسوي مركر لما تدخله يعطيك فلوس مره واحده فقط ولما ترستر المود يعطي مره اخري وكذا وش استخدم Link to comment
' A F . Posted February 16, 2017 Share Posted February 16, 2017 setElementData + getElementData Link to comment
^iiEcoo'x_) Posted February 16, 2017 Share Posted February 16, 2017 (edited) addEventHandler( "onMarkerHit", marker, function( player ) if getElementType( player ) == "player" and not getPedOccupiedVehicle( player ) then if not getElementData (player , "money" ) == true then setElementData (player, "money",true ) givePlayerMoney (player,1000) end end end ) جربه واكتب باف 8 debugscript 3 marker لاسم الماركر حقك Edited February 16, 2017 by #_iMr.[E]coo Link to comment
' A F . Posted February 16, 2017 Share Posted February 16, 2017 (edited) ^ سطر 5 بدل source لـ player وسطر 4 نفس الشيء . Edited February 16, 2017 by Default 1 Link to comment
!#NssoR_) Posted February 16, 2017 Share Posted February 16, 2017 13 minutes ago, #_iMr.[E]coo said: addEventHandler( "onMarkerHit", marker, function( player ) if getElementType( player ) == "player" and not getPedOccupiedVehicle( player ) then if not getElementData (source , "money" ) == true then setElementData (source, "money",true ) givePlayerMoney (player,1000) end end end ) addEventHandler ( "onResourcePreStart", getRootElement(), function () for i,v in ipairs(getElementsByType("player")) do setElementData (v, "money",false) end end ) جربه واكتب باف 8 debugscript 3 marker لاسم الماركر حقك 1 Link to comment
^iiEcoo'x_) Posted February 16, 2017 Share Posted February 16, 2017 Just now, !#NssoR_) said: هخخخخخخخخ فكرته لما يعيد تشغيل المود ذذ بس ليه مغلب نفسك ومصور الرد ذذ Link to comment
#Soking Posted February 16, 2017 Share Posted February 16, 2017 يخي استعملووو القيم و الجداول افضل من الداتااا 2 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