Kas7

Members
  • Content Count

    55
  • Joined

  • Last visited

  • Days Won

    1

Kas7 last won the day on July 22

Kas7 had the most liked content!

Community Reputation

7 Neutral

About Kas7

  • Rank
    Snitch
  • Birthday 15/07/2004

Details

  • Gang
    Kas7
  • Location
    Egypt
  • Occupation
    The destructive
  • Interests
    We learn from our mistakes, not from our success

Recent Profile Visitors

221 profile views
  1. حاول تجرب وتستكشف وتطبق اكثر من مثال لان كل ما تدرب اكثر علي الكود كل ما يسهل عليك التعلم اسرع + بالتوفيق
  2. PositionsCreateVehicle = { {2782.01514, -2474.73535, 13.63507}, {2804.32544, -2474.68701, 13.63008} } CreateVehicle = {} function StartVehicle( ) for i,v in ipairs( PositionsCreateVehicle ) do CreateVehicle[#CreateVehicle+1] = createVehicle(421,v[1],v[2],v[3],359.5, 0.000, 0) end end StartVehicle( ) جرب
  3. PositionsTableName = { {x,y,z}, -- احداثيات المكان الاول {x2,y2,z2} -- احداثيات المكان الثاني } TableName2 = {} function StartVehicle( ) for i,v in ipairs( PositionsTableName ) do TableName2[#TableName2+1] = createVehicle(model,v[1],v[2],v[3]) end end StartVehicle( )
  4. Kas7

    {Help} Fix Code

    addEventHandler("onTrailerAttach", resourceRoot, function ( TruckerVeh1 ) local driver1 = getVehicleOccupant ( TruckerVeh1 ) if ( driver1 ) then if (isElement(TruckerVeh1) and isElement(TruckerTra1)) then triggerClientEvent(driver1 , "TrailerAttach", resourceRoot ) outputChatBox("The load has been attached",driver1) end end end ) addEventHandler("onTrailerDetach", resourceRoot, function ( TruckerVeh1) local driver1 = getVehicleOccupant ( TruckerVeh1 ) if ( driver1 ) then if (isElement(TruckerVeh1) and isElement(TruckerTra1)) then triggerClientEvent(driver1 , "TrailerDetach", resourceRoot ) outputChatBox("The load has been Detach",driver1) end end end ) addEventHandler("onTrailerAttach", resourceRoot, function ( TruckerVeh2 ) local driver2 = getVehicleOccupant ( TruckerVeh2 ) if ( driver2 ) then if (isElement(TruckerVeh2) and isElement(TruckerTra2)) then triggerClientEvent(driver2 , "TrailerAttach", resourceRoot ) outputChatBox("The load has been attached",driver2) end end end ) addEventHandler("onTrailerDetach", resourceRoot, function ( TruckerVeh2 ) local driver2 = getVehicleOccupant ( TruckerVeh2 ) if ( driver2 ) then if (isElement(TruckerVeh2) and isElement(TruckerTra2)) then triggerClientEvent(driver2 , "TrailerDetach", resourceRoot ) outputChatBox("The load has been Detach",driver2) end end end ) Why when I connect the first trailer to the first truck it shows me in the chat "The load has been attached" twice even though I did a verification condition and so on onTrailerDetach
  5. addEventHandler("onTrailerAttach", resourceRoot, function ( TruckerVeh1 ) local driver1 = getVehicleOccupant ( TruckerVeh1 ) if ( driver1 ) then if (isElement(TruckerVeh1) and isElement(TruckerTra1)) then triggerClientEvent(driver1 , "TrailerAttach", resourceRoot ) outputChatBox("تم ربط الحمولة",driver1) end end end ) addEventHandler("onTrailerDetach", resourceRoot, function ( TruckerVeh1) local driver1 = getVehicleOccupant ( TruckerVeh1 ) if ( driver1 ) then if (isElement(TruckerVeh1) and isElement(TruckerTra1)) then triggerClientEvent(driver1 , "TrailerDetach", resourceRoot ) outputChatBox("احترس فتم ايقاع الحمولة اذهب لكي تقوم بربطها",driver1) end end end ) addEventHandler("onTrailerAttach", resourceRoot, function ( TruckerVeh2 ) local driver2 = getVehicleOccupant ( TruckerVeh2 ) if ( driver2 ) then if (isElement(TruckerVeh2) and isElement(TruckerTra2)) then triggerClientEvent(driver2 , "TrailerAttach", resourceRoot ) outputChatBox("تم ربط الحمولة",driver2) end end end ) addEventHandler("onTrailerDetach", resourceRoot, function ( TruckerVeh2 ) local driver2 = getVehicleOccupant ( TruckerVeh2 ) if ( driver2 ) then if (isElement(TruckerVeh2) and isElement(TruckerTra2)) then triggerClientEvent(driver2 , "TrailerDetach", resourceRoot ) outputChatBox("احترس فتم ايقاع الحمولة اذهب لكي تقوم بربطها",driver2) end end end ) onTrailerDetach لية لما اربط الترلا الاولة في الشاحنة الاولة يظهرلي في الشات"تم ربط الحمولة" مرتين برغم اني مسوي شرط تحقق وكذالك لما افي
  6. شكرا لك علي المساعدة
  7. Pl = getElementsByType ( "player" ) addEventHandler("onResourceStart",resourceRoot, function() setElementData(Pl,"HaveData",0) end ) كدا تقصد؟
  8. setElementData(thePlayer,"HaveBox",0) انا كنت ابي اول ما المود يشتغل يحط setElementData للاعب صفر في السيرفر سايد*
  9. ابي اخلي setElementData() اول ما يبداء المود تكون ب 0 في السيرفر سياد ممكن مساعدة؟
  10. setPedAnimation(plr, "carry", "liftup",0,false,true,true,false) I experimented with this idea, but it did not stimulate the animation in the first place I wanted to walk while doing the animation
  11. But I've seen it in some areas The player can move and animation only at the hands of An example of the image:-
  12. How can I get the player to move while performing the animation?
  13. How can I get the player to move while performing the animation?
  14. Oh well, I'm going to try this out