Jump to content

RLP[Farouk]

Members
  • Posts

    70
  • Joined

  • Last visited

Everything posted by RLP[Farouk]

  1. من ايش ؟ من الايفينت انا كنت مخبص
  2. خلص انا عرفت من ايش كانت المشكلة
  3. بقلك انا جربت مش زابط
  4. السلام عليكم ممكن تشوفو هالكود كيف بدي المركبة تتلون ؟؟؟ وش احط محل "?" انا جربت vehicles[source] بس ما زبط vehicles[source] = createVehicle(id, x, y, z) setVehicleRotation (?, 0, 0, 180 ) setVehicleColor(?,34,64,170,255,255,255) warpPedIntoVehicle(source,vehicles[source])
  5. يب اشتغل بس تيجي السيارة وتختفي ع سريع
  6. مو ظابط خلص انسه الموضوع
  7. vehicle = {} local TableMarker = { { x = 1556.6724853516, y = -1606.4342041016, z = 12.3 }, { x = 1544.0750732422, y = -1609.6583241953, z = 12.3 } } addEventHandler ( 'onResourceStart', resourceRoot, function ( ) for _, m in ipairs ( TableMarker ) do local marker = createMarker ( m.x, m.y, m.z ) end addEventHandler ( 'onMarkerHit', marker, onHit ) end ) function onHit (thePlayer ) if isElement ( vehicle[source] ) then destroyElement ( vehicle[source] ) end vehicle[source] = createVehicle ( 596, getElementPosition (x,y,z) ) warpPedIntoVehicle ( thePlayer,vehicle[source] ) end ما يصير شي ويعطيني WARNING >> AddEventHandler
  8. طيب مثلا انا عملت كمان ماركر وانا بروح اخد سيارة من ماركر الاول ورحت اخد كمان سيارة من الماركر الثاني كيف بدي تختفي السيارة الي اختها من الماركر الاول ؟؟ اسف من كثر الطلبات هذه اخر طلب لاني بدي انهيه
  9. بس اجي على الماركر بوقف وما يصير شي يمكن انا وضعته غلط ... function g() setElementData(source,"xxx",tostring("Yes")) end addEventHandler("onPlayerJoin",root,g) ma = createMarker (1556.6724853516,-1606.4342041016, 12.3, "cylinder", 2, 255, 0, 255, 150 ) vehicle = { } function M( thePlayer ) get = getElementData(thePlayer,"xxx") if get == "Yes" then if not isPedInVehicle(thePlayer) then x,y,z = getElementPosition( thePlayer ) if getElementModel( thePlayer ) == 287 then vehicle[source] = createVehicle ( 596, x, y, z ) setVehicleColor(vehicle[source],27,54,160,255,255,255) warpPedIntoVehicle(thePlayer,vehicle[source]) if isElement ( vehicle[source] ) then destroyElement ( vehicle[source] ) end end end end end addEventHandler( "onMarkerHit", ma, M )
  10. function g() setElementData(source,"xxx",tostring("Yes")) end addEventHandler("onPlayerJoin",root,g) ma = createMarker (1556.6724853516,-1606.4342041016, 12.3, "cylinder", 2, 255, 0, 255, 150 ) function M( thePlayer ) get = getElementData(thePlayer,"xxx") if get == "Yes" then if not isPedInVehicle(thePlayer) then x,y,z = getElementPosition( thePlayer ) if getElementModel( thePlayer ) == 287 then create = createVehicle ( 596, x, y, z ) setVehicleColor( create,27,54,160,255,255,255) warpPedIntoVehicle(thePlayer,create) end end end end addEventHandler( "onMarkerHit", ma, M )
  11. اها مشكور بس حليتها من قبل + باقي مشكلة انا اخت سيارة من الماركر واروح مرا ثانيه اخد كمان سيارة من الماركر السيارة الي اختها اخر مرا بدي تختفي حاولت اسويها بس الماركر يختفي والسيارة الي اختها
  12. طيب انا اخت سيارة من الماركر بس ما اقدر اخد كمان وحده
  13. يعني من ملف ميتا اخليه سيرفر؟؟
  14. Note: Vehicles (and other elements) created client-side are only seen by the client that created them, aren't synced and players cannot enter them. They are essentially for display only. https://wiki.multitheftauto.com/wiki/CreateVehicle طيب شو الحل
  15. local marker = createMarker( 1556.6724853516, -1606.4342041016, 12.3, "Cylinder", 1.5, 14, 64, 237, 150) function ps () local soso = getLocalPlayer() local x, y, z = getElementPosition ( soso ) createVehicle ( 596, x + 1, y, z ) end addEventHandler("onClientMarkerHit", marker, ps)
  16. طيب انا حطيته بس ما يصيرلي وارب
  17. السلام عليكم كيفكم لما اجي على الماركر وتنزل سيارة عسريع انا سويته بس كيف بدي اخلي لما اجي على الماكر اركب السيارة عسريع ؟؟ يعني اول ما ادخل الماركير وكيف بدي اخلي لما اخد السيارة واروح اخد كمان سيارة بدي تختفي السيارة الي نزلت قبل ؟؟
  18. شباب الوارب مو مزبوط !!!!! جرب مليون طريقة مش زابطه local vehicles = {} function spawnVeh(id) local setPed = createPed (source) local x, y, z = getElementPosition(source) if isElement(vehicles[source]) then destroyElement(vehicles[source]) end vehicles[source] = createVehicle(id, x +1, y, z) warpPedIntoVehicle (setPed, x,y,z) end addEvent("CreVehice",true) addEventHandler("CreVehice", root, spawnVeh)
  19. مستعجل في الكتابه
  20. مشكووووووووووووووووووووووووووور مشكووووووووووووووووووووووووووور الله يرزقك بنت الحلالللللللللللللل يا رببببببببب واخيراااااااااااااااااااا
  21. طيب برضو المخالف لما امسكه ما ينمسك شو الحللللللللللللللللللللل ما عندك مود كاملللللللللللللللللللللللللل وخلصصصص والله تعبت
  22. وش تسوي انا مبتدئ انسخ كودي الي فوق مرة ثانية نفس الايرور! اعتقد ان المشكلة ما راح تنحل
  23. ما نحلت WARNING: Loading script failed: 1policejob\client.lua:69: ')' expected (to close '(' at line 68) near 'guiRoot' انت بتخبص بالكود
×
×
  • Create New...