Simple.

Members
  • Content Count

    1,004
  • Joined

  • Last visited

  • Days Won

    1

Simple. last won the day on March 11

Simple. had the most liked content!

Community Reputation

25 Good

3 Followers

About Simple.

  • Rank
    Hard-@ss

Recent Profile Visitors

2,148 profile views
  1. getZoneName setWeather client side
  2. Simple.

    FUEL SYSTEM

    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 = 0 setVehicleEngineState(v, false) end setElementData(v, "fuel", fuel) end end end createVehicles() setTimer(processFuel, 1000, 0)
  3. Simple.

    FUEL SYSTEM

    local BlockedModel = { -- [Car id] = true, [411] = true, [457] = true, } if not BlockedModel[getElementModel ( v )] then -- Bla Bla Bla end
  4. Check this script There is an example nightly.mtasa.com/files/shaders/shader_hud_mask.zip
  5. 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
  6. local objectid = items['medkit'].desc
  7. 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'})
  8. السلام عليكم سكربتات قديمه سويتها و ما احتاجها لحرب العصابات - مخدرات -يوزر بانل -البيوت -التحديات -المسابقات -سكن شادر هذا الرابط للتحميل وللفائده https://cdn.discordapp.com/attachments/677248166353174528/687011513609093165/0xSimplex0.rar 🤗
  9. https://community.multitheftauto.com/?p=resources&s=details&id=13072
  10. استخدم setSoundVolume --setSoundVolume( source, 1 ) مع سكربت الـ Voice
  11. جميل جداً والي اعجبني فيه بزياده حركة البيد لكن لو يكون البيد ياخذ الفلوس ويمشي يحطها بالخزنه تطلع اطلق بالتوفيق 🖤
  12. 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 ( ) local playerX, playerY, playerZ = getElementPosition ( localPlayer ) -- Get our player's coordinates. local playerZoneName = getZoneName ( playerX, playerY, playerZ ) -- Get name of the zone the player is in. -- Draw zone name text's shadow. dxDrawText ( playerZoneName, 44, screenHeight - 41, screenWidth, screenHeight, tocolor ( 0, 0, 0, 255 ), 1.02, "pricedown" ) -- Draw zone name text. dxDrawText ( playerZoneName, 44, screenHeight - 43, screenWidth, screenHeight, tocolor ( R, G, B, 255 ), 1, "pricedown" ) end function HandleTheRendering ( ) addEventHandler ( "onClientRender", root, createText ) -- keep the text visible with onClientRender. end addEventHandler ( "onClientResourceStart", resourceRoot, HandleTheRendering ) @+Source|>
  13. وش تبي تسوي بالضبط؟