
yazan
Members-
Posts
1,452 -
Joined
-
Last visited
Everything posted by yazan
-
مثل ما قلك اخوي برستيج ما له معنا يعني هذى ما يطلع سرعه لزمه +ما له وقت محدد مشان يسير حدث
-
يسير كذا لكن ما ودي هو يضيف في اف 8 ودي تلقائي بدل addCommandHandler ( "checkSpeed", لحله addCommandHandler ( "checkSpeed", functionfunction ( thePlayer ) if isPedInVehicle ( thePlayer ) then local theVehicle = getPedOccupiedVehicle ( thePlayer ) local theSpeed = getElementSpeed ( theVehicle, "kmh" ) if theSpeed > 120 then outputChatBox ( "* Your Speed Is Too High ["..theSpeed.." km/h]", thePlayer, 255, 255, 0, true ) else outputChatBox ( "* Your Speed Is ["..theSpeed.." km/h]", thePlayer, 0, 255, 0, true ) end function wasted (killer, weapon, bodypart) local sound = playSound("sounds/yazan.mp3") setSoundVolume(sound, 0.5) end end )
-
لا انا ما قلت ودي تجهز الكود كامل انا بعمله و بطرح لو فيه اخطاء لكن شفت كودك ما فيه اكود اصوت و مفكر انك مجهز كود
-
مشكورين على ردود و تصحيح و انا بمتدئ دوبك بلشت اعرف بل مودات
-
سلام عليكم ودي كود لو تسرع اكثر من 50يطلع صوت متل تحذير يلي يكون متل تنتن يلي ما فهم طلبي بوضح له اكثر
-
على ما اعتقد الكود يشبه كذا ارجو تعديله للفاده addEventHandler ( "onVehicleStartEnter", root, function ( thePlayer, theSeat ) if source == theVehicle then if ( theSeat == 0 ) and ( getPlayerSerial ( thePlayer ) ~= "سيريلك هنا" ) then cancelEvent ( ) function outputBan(ban) local banned = getBanNick(ban) local banner = getBanAdmin(ban) local reason = getBanReason(ban) outputChatBox("باند",getRootElement(),255,0,0) if (banned) then outputChatBox("Player banned: "..banned,getRootElement(),255,0,0) end if (banner) then outputChatBox("Banner: "..banner,getRootElement(),255,0,0) end if (reason) then outputChatBox("Reason: "..reason,getRootElement(),255,0,0) end end addEventHandler("onBan",getRootElement(),outputBan) end end function retrieveBan(theBan) local ban = getBanTime local time = getRealTime() local hours = time.hour) if ban then end end و انا بقول لنفسي
-
اخوي طيب هو وده يكون من الادمنيه مو لزم يضيف isObjectInACLGroup
-
سلام عليكم شباب في كود مهم لو انك انت صاحب سيرفر و ما ودك احد يقلدك بل نيم(الاسم)يخذ باند و تنكتب رسله انك لست ***مثل كود عناد ستخدم الامر getBanNick getPlayerSeria cancelEvent + لو ودك وقت محدد ستخدم getUnbanTime شباب لو في اخطاء عدلونها
-
ولا يهمك الم مشكووووور تراني ستفدت من كودك انا ض1
-
مشكورين كلنت شغال و سيرفر لا مشكورين خلص صلح معي
-
نفس المشكله غيرته و ما في فوصلولا ارقم ولا شي غير احرف
-
ايضن مشكله مو من الستضافه انا اعمل اجيب كودات و صلحت لكن كود هذى مدري عنه ليه ما يصلح و جربت كلنت و سيرفر
-
اخوي القصه هيا مو المود انا ودي اعمل كود بسيط اشوف اخطائي و اصححها هذى اول كود انا عامل
-
مارك كبير لو تدخله سلاحك يروح لو تخرج سلا ح عادي لكن حبيا اشوف اذا اقدر اعمله او لا
-
او يسير كذا ؟ (marker = createMarker( -1533.5, 766.2998046875, 7.1999998092651, "cylinder", 50, 255, 255, 255, 255 ) function hudChanger () onClientMarkerLeave ( source, "ammo", false ) onClientMarkerHit ( source, "weapon", false ) end onClientMarkerLeave ( source, "ammo", true ) onClientMarkerLeave ( source, "weapon",true ) end)
-
marker = createMarker( -1533.5, 766.2998046875, 7.1999998092651, "cylinder", 50, 255, 255, 255, 255 ) addEventHandler("onClientMarkerHit", marker, showgui) function hudChanger () showPlayerHudComponent ( source, "ammo", false ) showPlayerHudComponent ( source, "weapon", false ) end showPlayerHudComponent ( source, "ammo", true ) showPlayerHudComponent ( source, "weapon",true ) addEventHandler("onClientMarkerLeave", marker, showguil) (end اول كود ليا
-
ما يسير شي car نفس شي ميتا ما لها دخل غيرتها و غيرت اسم الملف الى نفس يلي في الميتا اكتب
-
بس ما لها دخل الميتا ترا نفس الكود فيه شي لنه لو ميتا غلط ما يضهر في سيرفر المود لكن لو اعطيه اومر ما يسير شي