Jump to content

Race winner reward


Recommended Posts

وعليكم السلام

روح مجلد الريس وخش مجلد modes

المسار :

\mods\deathmatch\resources\[gamemodes]\[race]\race\modes

افتح ملف اسمه

destructionderby.lua

ببرنامج تحرير lua

ابحث عن هذا السطر

showMessage(getPlayerName(activePlayers[1]) .. ' is the final survivor!', 0, 255, 0) 

واكتب تحته

local randomMoney = math.random(300,500) -- تقدر تغير عدد الفلوس 
givePlayerMoney(activePlayers[1],randomMoney) 
  

Link to comment
شكرا على الرد

بس فين عدد الفلوس 300 ولا 500 ؟

local randomMoney = math.random(300,500) -- تقدر تغير عدد الفلوس

math.random(300,500)

=

توزيع فلوس برقم عشوائي اقل قيمة فيه 300

واعلى قيمة فيه 500

Link to comment
ادري ان الريس موجود

!!معلومة جديدة

انا قصدي سكربتات مثل الشوب حج الريس الي فيه تصليح ... الخ

وزي مثلا لوحة للاعب فيه الـ

states

يعني اي شيء مفيد

إذاً .. سويه لنفسك :/

Link to comment

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...