-
Content Count
1,004 -
Joined
-
Days Won
1
-
. - DmaR x started following Simple.
-
getZoneName setWeather client side
-
server/main.Lua factor = 0.03 local BlockedModel = { -- [Car id] = true, [411] = true, [457] = true, } function createVehicles(player) for i,v in ipairs(getElementsByType("vehicle")) do fuel = math.random(70,80) setElementData(v, "fuel", fuel) end end function processFuel(player) for i,v in ipairs(getElementsByType("vehicle")) do if not BlockedModel[getElementModel ( v )] then local fuel = getElementData(v, "fuel") or math.random(70,80) if (getVehicleEngineState(v) and fuel > 0 ) then fuel = fuel - factor end if (fuel <= 0.99) then fuel
-
local BlockedModel = { -- [Car id] = true, [411] = true, [457] = true, } if not BlockedModel[getElementModel ( v )] then -- Bla Bla Bla end
-
Check this script There is an example nightly.mtasa.com/files/shaders/shader_hud_mask.zip
-
local account = getPlayerAccount ( player ) if account and not isGuestAccount ( player ) then if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(player)), aclGetGroup('Acl name here')) then -- your code here end end
-
local objectid = items['medkit'].desc
-
You can do it in two ways items['medkit'] = {desc = 'A healing item', name = 'Medic Kit', objectid = '431'} or table.insert(items, 'medkit', {desc = 'A healing item', name = 'Medic Kit', objectid = '431'})
-
السلام عليكم سكربتات قديمه سويتها و ما احتاجها لحرب العصابات - مخدرات -يوزر بانل -البيوت -التحديات -المسابقات -سكن شادر هذا الرابط للتحميل وللفائده https://cdn.discordapp.com/attachments/677248166353174528/687011513609093165/0xSimplex0.rar
-
working for me
-
https://community.multitheftauto.com/?p=resources&s=details&id=13072
-
استخدم setSoundVolume --setSoundVolume( source, 1 ) مع سكربت الـ Voice
-
جميل جداً والي اعجبني فيه بزياده حركة البيد لكن لو يكون البيد ياخذ الفلوس ويمشي يحطها بالخزنه تطلع اطلق بالتوفيق
-
local screenWidth, screenHeight = guiGetScreenSize ( ) local scroll = guiCreateScrollBar(15,81,24,245,false,false) local scroll2 = guiCreateScrollBar(45,81,24,245,false,false) local scroll3 = guiCreateScrollBar(75,81,24,245,false,false) local R, G, B = 0, 0, 0 addEventHandler( "onClientGUIScroll", root, function() local ScrollValue = guiScrollBarGetScrollPosition ( source ) if source == scroll then R = (255/100) * ScrollValue elseif source == scroll2 then G = (255/100) * ScrollValue elseif source == scroll3 then B = (255/100) * ScrollValue end end) function createText ( )
-
Simple. changed their profile photo