BigBos Posted September 11, 2012 Share Posted September 11, 2012 السلام عليكم ورحمه الله وبركاته كيفكم شباب عندي كودات للريس مود بهاذا المسار race/model/base والمشكله انه timelimit respawn اذا صار ماب مسوى في File:'meta' مكتوب timelimit مو none مشكله ويتم كل ما يموت يرد يعيش للأبد مشكله ذي انا حاولت اعدل على هذول الكودات بهاذا المسار race/model/base 1.function RaceMode.isMapRespawn() 2. return RaceMode.getMapOption('respawn') == 'timelimit' 3.end 4. 5.function RaceMode.getPlayers() 6. return g_Players 7.end 8. 9.function RaceMode.setPlayerIsFinished(player) 10. setPlayerFinished(player, true) 11.end 12. 13.function RaceMode.isPlayerFinished(player) 14. return isPlayerFinished(player) 15.end 16. 17.function RaceMode.getPlayerVehicle(player) 18. return g_Vehicles[player] 19.end 20. 21.function RaceMode:setTimeLeft(timeLeft) 22. if g_MapOptions.duration - self:getTimePassed() > timeLeft then 23. g_MapOptions.duration = self:getTimePassed() + timeLeft 24. TimerManager.destroyTimersFor("raceend") 25. TimerManager.createTimerFor("map","raceend"):setTimer(raceTimeout, timeLeft, 1) 26. clientCall(g_Root, 'setTimeLeft', timeLeft) 27. end 28.end 29. بس ما نفع ابغي حل ابغي اسويه بدل ما يتم يعيش لين يخلص وقت الماب اسويه 3 مرات او 1 ما تفرق المهم اصلحه عشان اذا تبوني ادخل كل ماب اعدله اسويه none ما بخلص عندي 200 ماب ×_× ارجو المساعده شرحي بالأنجليزي ذا x_x Hello Guys These Codes IS in race mode race/model/base Line number On/Off | Expand/Contract | Select all 1.function RaceMode.isMapRespawn() 2. return RaceMode.getMapOption('respawn') == 'timelimit' 3.end 4. 5.function RaceMode.getPlayers() 6. return g_Players 7.end 8. 9.function RaceMode.setPlayerIsFinished(player) 10. setPlayerFinished(player, true) 11.end 12. 13.function RaceMode.isPlayerFinished(player) 14. return isPlayerFinished(player) 15.end 16. 17.function RaceMode.getPlayerVehicle(player) 18. return g_Vehicles[player] 19.end 20. 21.function RaceMode:setTimeLeft(timeLeft) 22. if g_MapOptions.duration - self:getTimePassed() > timeLeft then 23. g_MapOptions.duration = self:getTimePassed() + timeLeft 24. TimerManager.destroyTimersFor("raceend") 25. TimerManager.createTimerFor("map","raceend"):setTimer(raceTimeout, timeLeft, 1) 26. clientCall(g_Root, 'setTimeLeft', timeLeft) 27. end 28.end 29. its Unlimit respwan ( timelimt ) i need to make it 3 or 2 time or 1 idc Becouse if there is no admin in server Normal Player Will stay in same MAP and he Will feel Boring and get Out help me please i try Stuped try Just Try Line number On/Off | Expand/Contract | Select all 1.function RaceMode.isMapRespawn() 2. return RaceMode.getMapOption('respawn') == 'timelimit' 3.end 4. 5.function RaceMode.getPlayers() 6. return g_Players 7.end 8. 9.function RaceMode.setPlayerIsFinished(player) 10. setPlayerFinished(player, true) 11.end 12. 13.function RaceMode.isPlayerFinished(player) 14. return isPlayerFinished(player) 15.end 16. 17.function RaceMode.getPlayerVehicle(player) 18. return g_Vehicles[player] 19.end 20. 21. remove that And Nothing Please Help ساعدوني ساعدوني Link to comment
abu5lf Posted September 11, 2012 Share Posted September 11, 2012 انا اعرف ان النسخة الاصلية مافيها مشاكل وش جاب لها مشاكل Link to comment
BigBos Posted September 11, 2012 Author Share Posted September 11, 2012 انا اتكلم عن DM مو العاديه هي مافيها مشاكل بس الهنتر ومدري شو اللي بدرون بالريس dm بفهموني Link to comment
Sora Posted September 12, 2012 Share Posted September 12, 2012 لازم تعدل الاعدادات من نفس الماب ماتقدر تخلي المابات كلها بدون رسبوان من اعدادات الريس لازم تعدل اعدادات الماب من ملف meta.xml تعدل هاذي (timelimit) <setting name="#respawn" value='[ "timelimit" ]'></setting> إلى هاذي (none) <setting name="#respawn" value='[ "none" ]'></setting> 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