Professional Posted November 23, 2014 Posted November 23, 2014 هلا شباب انا ابي فنكش اول ما لاعب يكبس H بسياره الشرطه يصير فيه الوان بسياره وين الاضائه مره احمر ومره ازرق وتايمر كمان يا ريت تعطوني الفنكشات واي راد برات الموضوع يصير هو برات الموضوع ~ Soon - ~ قريبا
TAPL Posted November 23, 2014 Posted November 23, 2014 bindKey getPedOccupiedVehicle getElementModel setTimer setVehicleOverrideLights setVehicleLightState setVehicleHeadLightColor isTimer killTimer
Professional Posted November 23, 2014 Author Posted November 23, 2014 هريسه صح؟ bindKey ( "H", "down", function() local vehicle = getPedOccupiedVehicle ( source ) if vehicle then if getElementModel(theElement,599) طبعا لسياره ماني عارف شو احطلها time = setTimer(roo,1*60000,0,ob) EventHandler('lightS', root, function( veh ) if ( getVehicleOverrideLights(veh) ~= 2 ) then setVehicleLightState ( veh, 1, 0) setVehicleHeadLightColor(veh, 0, 0, 255) if messageType == 0 and isTimer(antiSpam[source]) then if isTimer(blueTimers[theVehicle]) then killTimer(blueTimers[theVehicle]) if isTimer(redTimers[theVehicle]) then killTimer(redTimers[theVehicle]) end end end ) ~ Soon - ~ قريبا
ALw7sH Posted November 27, 2014 Posted November 27, 2014 هريسه صح؟ bindKey ( "H", "down", function() local vehicle = getPedOccupiedVehicle ( source ) if vehicle then if getElementModel(theElement,599) طبعا لسياره ماني عارف شو احطلها time = setTimer(roo,1*60000,0,ob) EventHandler('lightS', root, function( veh ) if ( getVehicleOverrideLights(veh) ~= 2 ) then setVehicleLightState ( veh, 1, 0) setVehicleHeadLightColor(veh, 0, 0, 255) if messageType == 0 and isTimer(antiSpam[source]) then if isTimer(blueTimers[theVehicle]) then killTimer(blueTimers[theVehicle]) if isTimer(redTimers[theVehicle]) then killTimer(redTimers[theVehicle]) end end end ) https://wiki.multitheftauto.com/wiki/Sc ... troduction -- English https://wiki.multitheftauto.com/index.ph ... 8%AC%D9%87 -- Arabic
*[MSN]MHMD Posted November 29, 2014 Posted November 29, 2014 هريسه صح؟ bindKey ( "H", "down", function() local vehicle = getPedOccupiedVehicle ( source ) if vehicle then if getElementModel(theElement,599) طبعا لسياره ماني عارف شو احطلها time = setTimer(roo,1*60000,0,ob) EventHandler('lightS', root, function( veh ) if ( getVehicleOverrideLights(veh) ~= 2 ) then setVehicleLightState ( veh, 1, 0) setVehicleHeadLightColor(veh, 0, 0, 255) if messageType == 0 and isTimer(antiSpam[source]) then if isTimer(blueTimers[theVehicle]) then killTimer(blueTimers[theVehicle]) if isTimer(redTimers[theVehicle]) then killTimer(redTimers[theVehicle]) end end end ) أكيد هريسة veh على أي اساس حاطط هنا setVehicleLightState ( veh, 1, 0) setVehicleHeadLightColor(veh, 0, 0, 255) أول شي عرف الالمنت سوي كذا local veh = getPedOccupiedVehicle ( source ) وهنا قاطش نص الكود EventHandler('lightS', root, function( veh ) root وليش هنا اخترت مع انك كمان م عرفت تكتبها وليش مو حاطط كود للتايمر انت بس حاطط تايمر كذا م يسوي شي م في وظيفة time = setTimer(roo,1*60000,0,ob) theElement هنا كذلك الامر حط بدل veh وم تنسى تحط هذا الكود كمان local veh = getPedOccupiedVehicle ( source ) وبدل 599 الي مو عارف وش تسوي بها حط الايدي حق السيارة حقت الشرطة if getElementModel(theElement,599) طبعا لسياره ماني عارف شو احطلها
Professional Posted February 13, 2015 Author Posted February 13, 2015 هريسههههههههههههههههههههههههههههههههههههههههههههههه bindKey ( "H", "down", function() local vehicle = getPedOccupiedVehicle ( source ) local id = getElementModel(veh) if (id == 598) or (id == 596) or (id == 597) or (id == 599) then setTimer ( Light, 1000, 0 ) setVehicleOverrideLights ( veh, 0 ) setVehicleOverrideLights ( veh, 1 ) setVehicleOverrideLights ( veh, 2 ) killTimer(p_timer[veh]) setVehicleLightState ( veh, 1, 0) setVehicleLightState ( veh, 2, 0) setVehicleLightState ( veh, 0, 1) setVehicleLightState ( veh, 3, 1) setVehicleHeadLightColor(veh, 0, 0, 255) else setVehicleLightState ( veh, 3, 0) setVehicleLightState ( veh, 0, 0) setVehicleLightState ( veh, 1, 1) setVehicleLightState ( veh, 2, 1) setVehicleHeadLightColor(veh, 255, 0, 0) p_lvar[veh] = 0 end end, 500, 0) else p_lights[veh] = 0 outputChatBox("#FFFFFFPolice-Lights #00FF00off.", thePlayer, 0, 200, 100, true) killTimer(p_timer[veh]) setVehicleLightState ( veh, 0, 0) setVehicleLightState ( veh, 1, 0) setVehicleLightState ( veh, 2, 0) setVehicleLightState ( veh, 3, 0) setVehicleHeadLightColor(veh, 255, 255, 255) setVehicleOverrideLights ( veh, 1 ) end ~ Soon - ~ قريبا
TAPL Posted February 13, 2015 Posted February 13, 2015 هريسههههههههههههههههههههههههههههههههههههههههههههههه bindKey ( "H", "down", function() local vehicle = getPedOccupiedVehicle ( source ) local id = getElementModel(veh) if (id == 598) or (id == 596) or (id == 597) or (id == 599) then setTimer ( Light, 1000, 0 ) setVehicleOverrideLights ( veh, 0 ) setVehicleOverrideLights ( veh, 1 ) setVehicleOverrideLights ( veh, 2 ) killTimer(p_timer[veh]) setVehicleLightState ( veh, 1, 0) setVehicleLightState ( veh, 2, 0) setVehicleLightState ( veh, 0, 1) setVehicleLightState ( veh, 3, 1) setVehicleHeadLightColor(veh, 0, 0, 255) else setVehicleLightState ( veh, 3, 0) setVehicleLightState ( veh, 0, 0) setVehicleLightState ( veh, 1, 1) setVehicleLightState ( veh, 2, 1) setVehicleHeadLightColor(veh, 255, 0, 0) p_lvar[veh] = 0 end end, 500, 0) else p_lights[veh] = 0 outputChatBox("#FFFFFFPolice-Lights #00FF00off.", thePlayer, 0, 200, 100, true) killTimer(p_timer[veh]) setVehicleLightState ( veh, 0, 0) setVehicleLightState ( veh, 1, 0) setVehicleLightState ( veh, 2, 0) setVehicleLightState ( veh, 3, 0) setVehicleHeadLightColor(veh, 255, 255, 255) setVehicleOverrideLights ( veh, 1 ) end ناسخ الكود من القسم الروسي https://forum.multitheftauto.com/viewtopic.php?f=141&t=38632&p=770224#p769859
Professional Posted February 13, 2015 Author Posted February 13, 2015 لا مو ناسخه انا عامله ضض ~ Soon - ~ قريبا
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