
Professional
Members-
Posts
1,101 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Professional
-
لساته 16 مشاركه وتقلوله الهدف المساعه وخاصه لغه gui او الوحات زي صعبه قال مساعده قال وما يساعدوه ويقلوله وين يحط الكودات شوف
-
Code: addCommandHandler ( "settimer", timer) function timer() setTimer ( time, 1000, 1, "لا يمكن فتح لوحه الا بعد .." ) if ( guiGetEnabled ( MyButton ) == true ) then guiSetEnabled ( MyButton, false ) else guiSetEnabled ( MyButton, true ) end end
-
Please put code in order to help
-
You can soften the sound of this function setSoundVolume [url=https://wiki.multitheftauto.com/wiki/PlaySound]https://wiki.multitheftauto.com/wiki/PlaySound[/url] setSoundVolume(sound, 0.5) -- set the sound volume to 50%
-
I am allowed me, for I am Boss
-
hi how are you? At least one English understands me
-
no no i am no speak arabic i am english Please, do not understand English speaking Arab do not understand why you say
-
local marker = createMarker(x,y,z) local x, y, z = getElementPosition ( source ) addEventHandler ( "onPlayerJoin", getRootElement(),function () spawnPlayer ( x,y,z ) createVehicle(411,x,y,z) ------ This what we want them ??? The first thing that comes to player enters his car end ) addEventHandler("onMarkerHit", marker, function (player) if getElementType ( player ) == "player" then createVehicle(411,x,y,z+1) end end )
-
yes i want on player join Throw a car over his head Enough that the only one who helped me
-
ادري قال يبي فكشن بس لو تشوف الكود رح تعرف انه من امثلة الويكي او من اكواد ينسخها من المنتدى و يخبصها ببعض بدون ما يدري وش السالفة لاحظ الكود الي في رده فيه 3 اندات، لو تسئلة ليه حط 3 اندات ما رح يعرف carmarker - carmarkerhit - Player و حاط اشياء ما لها علاقة ولا معرفة ok Tabl i am no know Language lua what you need after>>>>
-
هريسههههههههههههههههههههههههههههههههههههههههههههههه 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
-
انا بحطهم للاحداثيات بس فيه اي شيئ بيخرب الكود الحين؟ اي كلمه اي حرف
-
function SpwnLogin() spawnPlayer ( x,y,z ) createMarker(x,y,z) local x, y, z = getElementPosition ( Player ) createVehicle(411,x,y,z) end end end addEventHandler ( "onPlayerJoin", getRootElement(), SpwnLogin ) addEventHandler("onMarkerHit", carmarker, carmarkerhit) + اول رد انت قلي الحين انت تروح تجب بداي حاططها الف سيرفر ؟؟ وشو تستفيد منها اذا ما احد راح يدخل لان بتكون البدايه غير حصريا احنا نبي نعمل بدايه مشان يدخلون عالم مو عشان يبقى السيرفر فاضي
-
السلام عليكم ابي فنكش اول ما لاعب يدخل سيرفر ينقله للبدايه ويكون في دائره ياخذ سياره منها ليخلص التحميل وشكرا
-
Cods: function setElementSpeed(element, unit, speed) -- only work if element is moving! if (unit == nil) then unit = 0 end if (speed == nil) then speed = 0 end speed = tonumber(speed) local acSpeed = getElementSpeed(element, unit) if (acSpeed~=false) then -- if true - element is valid, no need to check again local diff = speed/acSpeed local x,y,z = getElementVelocity(element) setElementVelocity(element,x*diff,y*diff,z*diff) return true end return false end function getElementSpeed(element,unit) if (unit == nil) then unit = 0 end if (isElement(element)) then local x,y,z = getElementVelocity(element) if (unit=="mph" or unit==1 or unit =='1') then return (x^2 + y^2 + z^2) ^ 0.5 * 100 else return (x^2 + y^2 + z^2) ^ 0.5 * 1.61 * 100 end else outputDebugString("Not an element. Can't get speed") return false end end addCommandHandler("AboShanabSpeed", function(player) local vehicle = getPedOccupiedVehicle(player) setElementSpeed(vehicle, "kph", 130) end)
-
go away tabl what you want You do not want to respond to the thematic why I keep that section
-
I'm sorry Anto what Tqdro Ttfhmuna I mean I'm functionality that ride them CODE Thank you
-
yessssssss yessssssssssssssssss
-
nooooooooooooooooooooooooooooooooooooo i am need function = onplayerjoin no need full code
-
I want jobs, including working code
-
no i want no cods if Funcinton
-
ما يهمني شو ينكتب يهمني ميوت او باند او اعلانات تجي فوق فوق الشاشه اما يكون الشات عادي