mr.ekoo Posted June 13, 2013 Posted June 13, 2013 كود نقل السيارة الى الاعب vehicle = createVehicle(579, 0, 0, 0) ادخال الاعب بالسيارة
S4MuEL Posted June 13, 2013 Posted June 13, 2013 https://wiki.multitheftauto.com/wiki/SetElementPosition - setElementPosition آلـ warpPedIntoVehicle آعتقد آنهآ مآ عآت تشتغل =)
TAPL Posted June 13, 2013 Posted June 13, 2013 https://wiki.multitheftauto.com/wiki/SetElementPosition - setElementPosition آلـ warpPedIntoVehicle آعتقد آنهآ مآ عآت تشتغل =) من وين جايب الكلام ذا
iPrestege Posted June 13, 2013 Posted June 13, 2013 warpPedIntoVehicle يمديكـ الحين تسويها كلنت [ = مآبه مشكلة ومآزيد على كلام تابل .. @ سمويل : | = اقرآ زين الويكي
S4MuEL Posted June 13, 2013 Posted June 13, 2013 يوب , حسبت يقولي مآ عآت تشتغل وآلـ سيت آلمنت بوسنشن صآرت بدآلهآ ذذ
mr.ekoo Posted June 13, 2013 Author Posted June 13, 2013 في مشكلة لو خليتهم مع بعض مكتوب بالويكي Attention: Do not use this function to spawn a ped/player. It will cause problems with other functions like warpPedIntoVehicle. Use spawnPlayer and createPed instead.
mr.ekoo Posted June 13, 2013 Author Posted June 13, 2013 شوف انا مسوي سيارة بهذي الطريقة vehicle = createVehicle(579, 0, 0, 0) ابغي اسحب السيارة لعند الاعب واخليه داخلها
iPrestege Posted June 13, 2013 Posted June 13, 2013 -- # Server Side : local vehicle = createVehicle ( 579,0,0,0 ) addCommandHandler('warp', function ( player ) if isElement ( vehicle ) and not isPedInVehicle ( player ) then local x,y,z = getElementPosition ( player ) setElementPosition ( vehicle,x,y+5,z ) warpPedIntoVehicle ( player,vehicle,0 ) end end )
PaiN^ Posted June 13, 2013 Posted June 13, 2013 debugscript 3 ? + إذا مافي شي اطرح الميتا " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
mr.ekoo Posted June 13, 2013 Author Posted June 13, 2013 مافي شيئ يوم اشغل المود او اكتب الكلمة يطلع ب debugscript 3
mr.ekoo Posted June 13, 2013 Author Posted June 13, 2013 vehicle = createVehicle(579, 5, 0, 0) addCommandHandler('sw', function ( player ) if isElement ( vehicle ) and not isPedInVehicle ( player ) then local g_Serials = { ['serile'] = true, } local x,y,z = getElementPosition ( player ) if g_Serials [ getPlayerSerial ( player ) ] then setElementPosition ( vehicle,x,y,z ) warpPedIntoVehicle ( player,vehicle,0 ) end end end )
PaiN^ Posted June 13, 2013 Posted June 13, 2013 كود برستيج صحيح مافيه شي, لازم ما تكون في سيارة لمن تكتب الأمر " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
mr.ekoo Posted June 13, 2013 Author Posted June 13, 2013 طيب الكود حق برستيج معدل عليه وهذا هو فوق وش الخطاء فيه ؟
MSHOOSH Posted June 13, 2013 Posted June 13, 2013 طيب الكود حق برستيج معدل عليه وهذا هو فوقوش الخطاء فيه ؟ احدثيات السيارة !!!
MSHOOSH Posted June 13, 2013 Posted June 13, 2013 طيب الكود حق برستيج معدل عليه وهذا هو فوقوش الخطاء فيه ؟ وش يطلع لك ب الدي بق سكربت ؟
PaiN^ Posted June 13, 2013 Posted June 13, 2013 سوي الجدول خارج الوظيفة + تأكد من السيريال تمام " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
AHMAD1234 Posted June 13, 2013 Posted June 13, 2013 vehTapl = {} addEventHandler("onPlayerLogin", root, function () local x,y,z = getElementPosition(source) vehTapl[source] = createVehicle(555, x,y,z) setVehicleColor(vehTapl[source], 255, 255, 255) warpPedIntoVehicle(source, vehTapl[source]) end ) addEventHandler("onPlayerLogout", root, function () if vehTapl[source] and isElement( vehTapl[source] ) then destroyElement( vehTapl[source] ) vehTapl[source] = nil end end )
PaiN^ Posted June 13, 2013 Posted June 13, 2013 vehTapl = {} addEventHandler("onPlayerLogin", root, function () local x,y,z = getElementPosition(source) vehTapl[source] = createVehicle(555, x,y,z) setVehicleColor(vehTapl[source], 255, 255, 255) warpPedIntoVehicle(source, vehTapl[source]) end ) addEventHandler("onPlayerLogout", root, function () if vehTapl[source] and isElement( vehTapl[source] ) then destroyElement( vehTapl[source] ) vehTapl[source] = nil end end ) كودك ماله علاقة بطلبه + أتوقع انك ناسخه من موضوع آخر " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
iPrestege Posted June 13, 2013 Posted June 13, 2013 -- # Server Side ! g_Vehicle = createVehicle ( 579,0,0,0 ) g_Serials = { ['PlayerSerial'] = true, } addCommandHandler('sw', function ( g_Player ) if isElement ( g_Vehicle ) and not isPedInVehicle ( g_Player ) then if g_Serials [ getPlayerSerial ( g_Player ) ] then local x,y,z = getElementPosition ( g_Player ) setElementPosition ( g_Vehicle,x,y,z ) warpPedIntoVehicle ( g_Player,g_Vehicle,0 ) end end end )
AHMAD1234 Posted June 13, 2013 Posted June 13, 2013 vehTapl = {} addEventHandler("onPlayerLogin", root, function () local x,y,z = getElementPosition(source) vehTapl[source] = createVehicle(555, x,y,z) setVehicleColor(vehTapl[source], 255, 255, 255) warpPedIntoVehicle(source, vehTapl[source]) end ) addEventHandler("onPlayerLogout", root, function () if vehTapl[source] and isElement( vehTapl[source] ) then destroyElement( vehTapl[source] ) vehTapl[source] = nil end end ) كودك ماله علاقة بطلبه + أتوقع انك ناسخه من موضوع آخر لا يا باين هادى مسويه قبل شوي وبعدين الموضوع حقه يتكلم عن انه يبغى يصير للاعب وارب داخل السيارة والكود حقي لمى يسجل دخول يدخله في سيارة ولمى يسجل خروج تنسحب منه السيارة وتحياتي...
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