Jump to content

فاّرس

Members
  • Posts

    4,805
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by فاّرس

  1. For example, if you want to delete a file name "myFile.txt" in the resource 'fileres', it can be deleted from another resource this way: fileDelete(":fileres/myFile.txt"). If the file is in the current resource, only the file path is necessary, e.g. fileDelete("myFile.txt"). حسب المكتوب تقدر تخفي ملفات TXT ملفات الصوت تنحذف ,,
  2. uPlayer is not define. And he not said want timer !! And how the player have car if he spawn ?>? Edit #: function(player) if getElementType(player) == 'player' then if isPedInVehicle(player) then local vehicle = getPedOccupiedVehicle( player ) if vehicle then local r, g, b = math.random( 255 ), math.random( 255 ), math.random( 255 ) setTimer(setVehicleColor,1000,0,vehicle, r, g, b ) end end end end
  3. uPlayer = ?? vehicle = ??? ,,
  4. Parameters float posX, float posY, float posZ, float spawnRotation, team theTeam, int theSkin, int theInterior, int theDimension and tell me how the player have car if he spawn?
  5. This function will smoothly move an object from its current position to a specified rotation and position. يعني ما بيحرك الا الابجكت ذذ, + لو كان الفنكشن moveElement يكون افضل ذذ + حسب الي اعرفه انه ما تقدر تخلي السياره تتحرك ببطيئ الى ان تجي عندك ._.
  6. شرح واضح ومفهوم , يعطيك العافيه
  7. ما يقدر , هو يبيها تمشي بخفيف الى ان توصل عنده, فـ لو سويت تايمر و setElementPosition, السيارة راح يجيها هيدروليك موب صاحي
  8. اتوقع الخطأ من اسم الفنكشن , جرب كذا, vTable = { [ 1 ] = { -2695.6999511719, -185.30000305176, 3.3000001907349 }, [ 2 ] = { -2717, -95.5, 3.3000001907349 }, [ 3 ] = { -2716.8999023438, -54.799999237061, 3.3000001907349 }, [ 4 ] = { -2717.1999511719, 1.7999999523163, 3.3000001907349 }, [ 5 ] = { -2696.1000976563, 59.799999237061, 3.3000001907349 }, [ 6 ] = { -2695.8000488281, 77.800003051758, 3.3000001907349 }, [ 7 ] = { -2694.5, 118.80000305176, 3.3000001907349 }, } local one = createMarker ( -2622.6, 131.599, 7, "cylinder", 1.5, 255, 255, 0, 170 ) addEventHandler('onClientMarkerHit',one, function( hitPlayer ) if hitPlayer == localPlayer then local x,y,z = getElementPosition ( source ) local px,py,pz = getElementPosition ( hitPlayer ) if z and pz then local check = math.abs ( pz - z ) if 1 >= check then triggerLatentServerEvent ( "money",hitPlayer ) local PosX,PosY,PosZ = unpack( vTable [ math.random( #vTable ) ] ) setElementPosition (one, PosX, PosY, PosZ) end end end end,false )
  9. vTable = { [ 1 ] = { -2695.6999511719, -185.30000305176, 3.3000001907349 }, [ 2 ] = { -2717, -95.5, 3.3000001907349 }, [ 3 ] = { -2716.8999023438, -54.799999237061, 3.3000001907349 }, [ 4 ] = { -2717.1999511719, 1.7999999523163, 3.3000001907349 }, [ 5 ] = { -2696.1000976563, 59.799999237061, 3.3000001907349 }, [ 6 ] = { -2695.8000488281, 77.800003051758, 3.3000001907349 }, [ 7 ] = { -2694.5, 118.80000305176, 3.3000001907349 }, } local one = createMarker ( -2622.6, 131.599, 7, "cylinder", 1.5, 255, 255, 0, 170 ) addEventHandler('onClientMarkerHit',one, function moneys( hitPlayer ) if hitPlayer == localPlayer then local x,y,z = getElementPosition ( source ) local px,py,pz = getElementPosition ( hitPlayer ) if z and pz then local check = math.abs ( pz - z ) if 1 >= check then triggerLatentServerEvent ( "money",hitPlayer ) local PosX,PosY,PosZ = unpack( vTable [ math.random( #vTable ) ] ) setElementPosition (one, PosX, PosY, PosZ) end end end end,false )
  10. انت تبيه ينقل الماركر ولا اللاعب؟
  11. يعني ما تشوفني جبت الجدول ؟ local PosX,PosY,PosZ = unpack( vTable [ math.random( #vTable ) ] )
  12. function moneys( hitPlayer ) if hitPlayer == localPlayer then local x,y,z = getElementPosition ( source ) local px,py,pz = getElementPosition ( hitPlayer ) if z and pz then local check = math.abs ( pz - z ) if 1 >= check then triggerLatentServerEvent ( "money",hitPlayer ) local PosX,PosY,PosZ = unpack( vTable [ math.random( #vTable ) ] ) setElementPosition (one, PosX, PosY, PosZ) end end end end كذا بينقل الماركر لانك حاط one < اذا تبيه ينقل اللاعب حط hitPlayer
  13. one = ? وحاط الاحداثيات كلها سورس؟ خلها مثل ما عطاك برستيج , local x,y,z = getElementPosition ( source ) local px,py,pz = getElementPosition ( hitPlayer )
  14. يعني يا طويل العمر خليه كذا , bg = guiCreateStaticImage(760, 1025, 400, 50, "images/blank.png", false) DisableCH = guiCreateStaticImage(760, 1025, 400, 50, "images/CHD.png", false) EnableCH = guiCreateStaticImage(760, 1025, 400, 50, "images/CHE.png", false) guiSetVisible ( DisableCH, false ) guiSetVisible ( EnableCH, false ) show = "DisableCH" changeImage = function ( value ) if isTimer ( showTimer ) then killTimer ( showTimer ) guiSetVisible ( gui, false ) end if tostring ( value ) == "DisableCH" then gui = DisableCH show = "EnableCH" elseif tostring ( value ) == "EnableCH" then gui = EnableCH show = "DisableCH" end if isElement ( gui ) then if not guiGetVisible ( gui ) then guiSetVisible ( gui, true ) showTimer = setTimer ( guiSetVisible, 1000, 1, gui, false ) end end end bindKey ( "f1", "down", function ( ) changeImage ( show ) end )
  15. وش يثبت لي انك انت سويته؟ + مانبي نتحمل اثم الصوت برمضآن ._. ! + لو انت سويته بتعرف وش الخطأ, + ما توقعت ضاوي مخبط كذا + يا روح ماما الطريق منتبه له زين , انتبه لنفسك بس
  16. بما إنك ما سويته ما نسآعدك , خل الي سوالك الكود التاريخي هذا يعدله لك,
  17. ما شاء الله , ماسك خط بالمنتدى
  18. لا يا حبيبي ترا المودم حقي مفتوح مافي رقم سري وموب بس انا اشتغل عليه ذذ فـ لو كنت انا ليه يعني بحط حساب جديد ؟
  19. ما اعتقد يضبط , لكن جرب كذا ذذ, bg = guiCreateStaticImage(760, 1025, 400, 50, "images/blank.png", false) DisableCH = guiCreateStaticImage(760, 1025, 400, 50, "images/CHD.png", false) EnableCH = guiCreateStaticImage(760, 1025, 400, 50, "images/CHE.png", false) guiSetVisible ( DisableCH, false ) guiSetVisible ( EnableCH, false ) bindKey ( "F1", "down", function ( ) guiSetVisible(EnableCH,true) if not isTimer(Timer) then setTimer(guiSetVisible,1000,1,EnableCH,false) else guiSetVisible(DisableCH,true) if isTimer(Timer) then Timer = setTimer(guiSetVisible,1000,1,DisableCH,false) end end end )
  20. بما ان الكود لو سويت له ستوب يوقف بعد 5 خطوات, وقف الكود قبل 5 خطوات وهو راح يوقف بالمكان المحدد
  21. يعني تبي اذا ضغطت الزر تختفي الاولى وتظهر الثانيه؟ ماتبي التايمر ؟
  22. يعطيكم العافيه
×
×
  • Create New...