Do_De<3 Posted March 24, 2014 Share Posted March 24, 2014 السسلام عليكم : ) وش المشكلهه هنآ ؟ addEvent("Hajwalah", true) addEventHandler("Hajwalah",root, function() if ( enksar[source] and isElement ( enksar[source] )) then destroyElement( enksar[source] ) setPlayerTeam(source, Team) end end) مآيسحب السيآرة وشكرآ Link to comment
#Al-Ha[J]aRii Posted March 24, 2014 Share Posted March 24, 2014 السسلام عليكم : )وش المشكلهه هنآ ؟ addEvent("Hajwalah", true) addEventHandler("Hajwalah",root, function() if ( enksar[source] and isElement ( enksar[source] )) then destroyElement( enksar[source] ) setPlayerTeam(source, Team) end end) مآيسحب السيآرة وشكرآ انت مسوي سيارة ؟ Link to comment
Do_De<3 Posted March 24, 2014 Author Share Posted March 24, 2014 local enksar = {} addEvent("Race", true) addEventHandler("Race",root, function () if( isElement ( enksar[source] ) ) then destroyElement( enksar[source] ) end local x,y,z = unpack(Position2[math.random(#Position2)]) enksar[source] = createVehicle ( 411, x, y, z ) warpPedIntoVehicle ( source, enksar[source] ) addVehicleUpgrade(getPedOccupiedVehicle(source), 1010) setElementFrozen(enksar[source], true) triggerClientEvent( source, '1', source ) setPlayerTeam(source, Team2) end ) Link to comment
Do_De<3 Posted March 24, 2014 Author Share Posted March 24, 2014 ناقص جدولين : / ل وشو ؟ Link to comment
#Al-Ha[J]aRii Posted March 24, 2014 Share Posted March 24, 2014 ناقص جدولين : / ل وشو ؟ جدول حق الاحداثيات ناقص Link to comment
Do_De<3 Posted March 24, 2014 Author Share Posted March 24, 2014 ناقص جدولين : / ل وشو ؟ جدول حق الاحداثيات ناقص اي احدآثيآت ؟ + الجدوال الثاني وشو ؟ Link to comment
al-Kobra Posted March 24, 2014 Share Posted March 24, 2014 لوول ,, مانتبهت لجدول السيارة بس ناقص جدول الاحداثيات واظن ان الترايقر مايصير ارقم << مو متأكد Link to comment
Do_De<3 Posted March 24, 2014 Author Share Posted March 24, 2014 لا زبط ارقآم ابشرك : ) طيب الاحدآثيات كيف ازبطهآ؟ Link to comment
al-Kobra Posted March 24, 2014 Share Posted March 24, 2014 27dathy = { {x ,y ,z}, {x ,y ,z}, {x ,y ,z}, } for i, Position2 in ipairs (27dathy) do Link to comment
Do_De<3 Posted March 24, 2014 Author Share Posted March 24, 2014 27dathy = { {x ,y ,z}, {x ,y ,z}, {x ,y ,z}, } for i, Position2 in ipairs (27dathy) do ياولدد مافهمتني انت : /؟ انا ابيه يسحب الموتر بس مآبيهه ينقلهه لان كل شي جاهزز بس لو خشيت هجولة مايسحب الموتر Link to comment
Do_De<3 Posted March 24, 2014 Author Share Posted March 24, 2014 حط الكود كامل كلنت وسيرفر المود خآص Link to comment
abu5lf Posted March 24, 2014 Share Posted March 24, 2014 يمديك ترسله لي خاص اذا بغيت ! 27dathy = { {x ,y ,z}, {x ,y ,z}, {x ,y ,z}, } for i, Position2 in ipairs (27dathy) do هو يبي احداثيات عشوائية mPosition = { { 0, 0, 0 }; { 10, 10, 10 }; { 20, 20, 20 }; }; unpack( mPosition[ math.random( #mPosition ) ] ) Link to comment
Do_De<3 Posted March 24, 2014 Author Share Posted March 24, 2014 يمديك ترسله لي خاص اذا بغيت !27dathy = { {x ,y ,z}, {x ,y ,z}, {x ,y ,z}, } for i, Position2 in ipairs (27dathy) do هو يبي احداثيات عشوائية mPosition = { { 0, 0, 0 }; { 10, 10, 10 }; { 20, 20, 20 }; }; unpack( mPosition[ math.random( #mPosition ) ] ) مآبي كود احدآثيآت تلقآئئيهه موجوده عندي بس ابيهه يسحب الموتر Link to comment
iPrestege Posted March 24, 2014 Share Posted March 24, 2014 رجاءاً استخدم /debugscript 3 واذا وجد خطأ يرجى وضعه هنا . Link to comment
#DRAGON!FIRE Posted March 24, 2014 Share Posted March 24, 2014 addEvent( "Hajwalah", true ) addEventHandler( "Hajwalah", root, function( ) if ( isElement ( enksar[source] ) ) then destroyElement( enksar[source] ) enksar[source] = nil setPlayerTeam( source, Team ) end end ) Link to comment
Do_De<3 Posted March 24, 2014 Author Share Posted March 24, 2014 تم الحل : ) من قبل عآشق <3 Link to comment
Do_De<3 Posted March 24, 2014 Author Share Posted March 24, 2014 طيب شبآب ابي كود اذا لمسةة سيآرةة رقم 411 البحر تنسحب ويموت اللاعب Link to comment
xFace[B]ook Posted March 24, 2014 Share Posted March 24, 2014 isElementInWater killPed isPedInVehicle getElementModel 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