mr.ekoo Posted June 13, 2013 Share Posted June 13, 2013 كود نقل السيارة الى الاعب vehicle = createVehicle(579, 0, 0, 0) ادخال الاعب بالسيارة Link to comment
S4MuEL Posted June 13, 2013 Share Posted June 13, 2013 https://wiki.multitheftauto.com/wiki/SetElementPosition - setElementPosition آلـ warpPedIntoVehicle آعتقد آنهآ مآ عآت تشتغل =) Link to comment
TAPL Posted June 13, 2013 Share Posted June 13, 2013 https://wiki.multitheftauto.com/wiki/SetElementPosition - setElementPosition آلـ warpPedIntoVehicle آعتقد آنهآ مآ عآت تشتغل =) من وين جايب الكلام ذا Link to comment
iPrestege Posted June 13, 2013 Share Posted June 13, 2013 warpPedIntoVehicle يمديكـ الحين تسويها كلنت [ = مآبه مشكلة ومآزيد على كلام تابل .. @ سمويل : | = اقرآ زين الويكي Link to comment
S4MuEL Posted June 13, 2013 Share Posted June 13, 2013 يوب , حسبت يقولي مآ عآت تشتغل وآلـ سيت آلمنت بوسنشن صآرت بدآلهآ ذذ Link to comment
iPrestege Posted June 13, 2013 Share Posted June 13, 2013 اصلا كيف تصير بها ؟ اذا تقدر ورنآ /: ؟ Link to comment
mr.ekoo Posted June 13, 2013 Author Share 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. Link to comment
iPrestege Posted June 13, 2013 Share Posted June 13, 2013 انت تبي تودي السيارة للاعب؟ Link to comment
mr.ekoo Posted June 13, 2013 Author Share Posted June 13, 2013 شوف انا مسوي سيارة بهذي الطريقة vehicle = createVehicle(579, 0, 0, 0) ابغي اسحب السيارة لعند الاعب واخليه داخلها Link to comment
iPrestege Posted June 13, 2013 Share 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 ) Link to comment
PaiN^ Posted June 13, 2013 Share Posted June 13, 2013 debugscript 3 ? + إذا مافي شي اطرح الميتا Link to comment
mr.ekoo Posted June 13, 2013 Author Share Posted June 13, 2013 مافي شيئ يوم اشغل المود او اكتب الكلمة يطلع ب debugscript 3 Link to comment
iPrestege Posted June 13, 2013 Share Posted June 13, 2013 | = غريبة والله شغال عندي ذذ منت بسيارة صح؟ Link to comment
mr.ekoo Posted June 13, 2013 Author Share Posted June 13, 2013 انا مو بسيارة يوم اكتب الكود .؟ Link to comment
mr.ekoo Posted June 13, 2013 Author Share 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 ) Link to comment
PaiN^ Posted June 13, 2013 Share Posted June 13, 2013 كود برستيج صحيح مافيه شي, لازم ما تكون في سيارة لمن تكتب الأمر Link to comment
mr.ekoo Posted June 13, 2013 Author Share Posted June 13, 2013 طيب الكود حق برستيج معدل عليه وهذا هو فوق وش الخطاء فيه ؟ Link to comment
MSHOOSH Posted June 13, 2013 Share Posted June 13, 2013 طيب الكود حق برستيج معدل عليه وهذا هو فوقوش الخطاء فيه ؟ احدثيات السيارة !!! Link to comment
MSHOOSH Posted June 13, 2013 Share Posted June 13, 2013 طيب الكود حق برستيج معدل عليه وهذا هو فوقوش الخطاء فيه ؟ وش يطلع لك ب الدي بق سكربت ؟ Link to comment
PaiN^ Posted June 13, 2013 Share Posted June 13, 2013 سوي الجدول خارج الوظيفة + تأكد من السيريال تمام Link to comment
AHMAD1234 Posted June 13, 2013 Share 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 ) Link to comment
PaiN^ Posted June 13, 2013 Share 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 ) كودك ماله علاقة بطلبه + أتوقع انك ناسخه من موضوع آخر Link to comment
iPrestege Posted June 13, 2013 Share 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 ) Link to comment
AHMAD1234 Posted June 13, 2013 Share 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 ) كودك ماله علاقة بطلبه + أتوقع انك ناسخه من موضوع آخر لا يا باين هادى مسويه قبل شوي وبعدين الموضوع حقه يتكلم عن انه يبغى يصير للاعب وارب داخل السيارة والكود حقي لمى يسجل دخول يدخله في سيارة ولمى يسجل خروج تنسحب منه السيارة وتحياتي... 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