Jump to content

respawn mode :#


Recommended Posts

Posted

السلام عليكم ورحمة الله وبركاته

ابي كود للريس

اي ماب فيه

respawn

يلغيه ممكن مسأأعده

Posted

روح ملف الريس

ثم ملف

race_server.lua

ثم ابحث

عن الفنكشن الي اسمه

function cacheMapOptions(map) 

ثم بدل الكود ذا بدال الي عندك

function cacheMapOptions(map) 
        g_MapOptions = {} 
        g_MapOptions.duration = map.duration and tonumber(map.duration) > 0 and map.duration*1000 or g_GameOptions.defaultduration 
        if g_MapOptions.duration > 86400000 then 
            g_MapOptions.duration = 86400000 
        end 
      g_MapOptions.respawn = 'none' 
        if g_MapOptions.respawn ~= 'timelimit' and g_MapOptions.respawn ~= 'none' then 
            g_MapOptions.respawn = 'none' 
        end 
        g_MapOptions.respawntime    = g_MapOptions.respawn == 'timelimit' and (map.respawntime and map.respawntime*1000 or g_GameOptions.defaultrespawntime) 
        g_MapOptions.time           = map.time or '12:00' 
        g_MapOptions.weather        = map.weather or 0 

انتبه انا مو معطيك الفنكشن كامل اعطيتك الي يخص تعديل التايم !

Posted
@ AboZaHRa : ما ينفع ذذ

مجربه *_*

على اكثر من قيم معدل والاساسي

جربه انت وردلي خبر ^_^

Posted
صدقني ما ينفع ذذ

يازاحف مابعطيه شي مو متاكد منه 100%

انت بس جربه واذا لقيت خطأ قلي ^_^

شغال معي بسيرفري وقسم وبدون اخطأ خله ييجي يجربه صاحب الموضوع ونشوف @_@

Posted
انا ما اقصد انه الكود ما يشتغل

بس لو انتهى الكل ومات .. وجا دخل واحد

جربها وشف وش يصير ذذ .

ما صار شيء

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...