JRS COREالوثائق
السكربتات

World

6 سكربت في مجلد [WORLD]

World features: towns, travel, teleports, canoes and more.

هذا المجلد فيه 6 سكربت. اختر سكربت من التبويبات تحت.

مجاني (موجود مع JRS Core)   jrs_canoe

القوارب في JRS Core - استأجر قوارب من النجّارين عند النهر واحملها

الريسورس jrs_canoe
المجلد [WORLD]
الإصدار 1.0.0
المطوّر JRS TEAM
يعتمد على jrs_core
الواجهة لا
حجم الكود 1,912 سطر Lua

الـ Exports

GetCanoeEntityObject, IsCarryingCanoe, IsModelCanoe, OpenCanoeRentingShop

config.lua - 13 إعداد#

عام

الإعداد الافتراضي وظيفته
Language "en" 'en' أو 'ar'
PromptAction table نص يظهر للاعب لـ prompt action. غيّره للترجمة أو لتغيير الاسم.
CanoeActionPrompt table نص يظهر للاعب لـ canoe action prompt. غيّره للترجمة أو لتغيير الاسم.
NPCRenderingSpawnDistance 50.0 المسافة بوحدات اللعبة لـ npc rendering spawn distance.
RemoveStaminaWhileCarrying table Remove stamina while carrying a canoe?
SetPedMaxMoveBlendRatio 0.8 0.0 - 1.0
PickupCommand "pickupcanoe" The command to pickup the closest canoe.
DropCommand "dropcanoe" The command to drop the closest canoe.
UseInteractPrompt false true = interact through the JRS interaction prompt instead of the classic prompts
Models table Insert all the canoe models here (You might also have custom canoe vehicle object) DO NOT EDIT WITHOUT KNOWLEDGE.
ModelsTargetOptions table The target options are for the JRS interaction prompt support only when targetting a canoe from Config.Models
Stores table جدول عناصر stores. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف.
  ↳ RoanokeValley table جدول عناصر roanoke valley. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف.

مجاني (موجود مع JRS Core)   jrs_hotair

المناطيد في JRS Core - استأجر وطِر واحمل ركاب

الريسورس jrs_hotair
المجلد [WORLD]
الإصدار 1.0.0
المطوّر JRS TEAM
يعتمد على jrs_core, jrs_inventory
الواجهة نعم (NUI)
حجم الكود 2,017 سطر Lua

الأوامر

  • /hotair
config.lua - 15 إعداد#

عام

الإعداد الافتراضي وظيفته
Language "en" 'en' أو 'ar'
Model "hotAirBalloon01" Balloon vehicle model
HirePrice 50 Flat hire fee (cash). No timers, no cooldowns, no fuel.
PassengerOffsets table Balloon basket seats (offsets relative to the balloon entity) pilot uses the driver seat (-1), passengers attach at these offsets
CruiseSpeed 0.05 drift added per tick
BoostSpeed 0.15 drift added per tick while boost held
MaxAltitudeAGL 150.0 ceiling above ground level
StoreMaxSpeed 3.0 m/s, balloon must be near-stationary to store
StoreMaxHeightAGL 4.0 must be close to the ground to store
BoardMaxSpeed 3.0 same limits for boarding / piloting
BoardMaxHeightAGL 4.0 الحد الأعلى لـ board max height agl.
TargetDistance 6.0 prompt distance (balloon is a large entity)
StorageMaxWeight 100000 Balloon storage (JRS storage per character, slots)
StorageMaxSlots 20 الحد الأعلى لـ storage max slots.
Docks table Add as many docks as you like, one NPC + blip + target is created per entry automatically. Ground Z is resolved at runtime.

مجاني (موجود مع JRS Core)   jrs_npcs

شخصيات NPC في JRS Core - حط سكان البلد مع مشاهد وعلامات خريطة وأصوات اختيارية

الريسورس jrs_npcs
المجلد [WORLD]
الإصدار 1.0.0
المطوّر JRS TEAM
الواجهة لا
حجم الكود 147 سطر Lua
config.lua - 3 إعداد#

عام

الإعداد الافتراضي وظيفته
SpawnDistance 40.0 NPC appears inside this radius, disappears outside it
FadeIn true مفتاح لـ fade in: true = شغّال، false = طافي (الافتراضي true).
Peds table موديل أو كيان في اللعبة يُستخدم لـ peds.

مجاني (موجود مع JRS Core)   jrs_radius

سكربت إخفاء اللاعبين حسب المسافة لفريمورك jrs core

الريسورس jrs_radius
المجلد [WORLD]
الإصدار 1.0
المطوّر JRS TEAM
الواجهة لا
حجم الكود 85 سطر Lua

مجاني (موجود مع JRS Core)   jrs_teleports

التنقّل في JRS Core - أبواب دخول وخروج تنقلك (teleport)، وممكن تقفلها على وظيفة

الريسورس jrs_teleports
المجلد [WORLD]
الإصدار 1.0.0
المطوّر JRS TEAM
يعتمد على jrs_core
الواجهة لا
حجم الكود 883 سطر Lua
config.lua - 3 إعداد#

عام

الإعداد الافتراضي وظيفته
Language "en" 'en' أو 'ar'
PromptKey 0xCEFD9220 E (ضغط مطوّل)
Locations table Each entry: label, enter / exit = vector4(x, y, z, heading), distance, jobs = { 'job' } or false

مجاني (موجود مع JRS Core)   jrs_track

مسارات سباق الخيل في JRS Core - ابنِ مسارات بنقاط تفتيش واحفظها وتسابق

الريسورس jrs_track
المجلد [WORLD]
الإصدار 1.0.0
المطوّر JRS TEAM
يعتمد على jrs_core, oxmysql
الواجهة لا
اللغات ar, en
حجم الكود 2,286 Lua lines

الأوامر

  • /race
  • /racerace
  • /racewebhooktest

جداول قاعدة البيانات

horse_race_tracks

shared/config.lua - 8 إعداد#

عام

الإعداد الافتراضي وظيفته
Locale "en" 'en' أو 'ar'

url is the fallback webhook used for any event that doesn't set its own

الإعداد الافتراضي وظيفته
  ↳ enabled false master switch; everything below is inert until this is true
  ↳ url "" e.g. 'https://discord.com/api/webhooks/XXXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
  ↳ botName "JRS-Track" نص يظهر للاعب لـ bot name. غيّره للترجمة أو لتغيير الاسم.
  ↳ botAvatar "" optional icon url shown as the webhook's avatar
  ↳ footer "JRS-Track Logs" إعداد لـ footer.
  ↳ minIntervalMs 350 Minimum time (ms) between two posts to the same webhook URL. Discord rate-limits webhooks; this keeps a burst of events (e.g. everyone finishing at once) from tripping it.
  ↳ events table جدول عناصر events. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف.
JRS Core · فريمورك RedM مجاني ومفتوح المصدر · من فريق JRS