Jump to content

Search the Community

Showing results for tags 'variable'.

  • Search By Tags

    • variable ×
    Type tags separated by commas.
  • Search By Author

Content Type



Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Found 7 results

  1. Lua Language Server - Definition files The Lua language server is a powerful tool that enhances the development experience for Lua programming. It provides a comprehensive set of code editing features, including suggestions, auto-completion, and error checking. With the Lua language server, dev...
  2. -- Ez a server oldali script local rigPrice = 50000; function buyMiningRig(player, amount) local money = getPlayerMoney(localPlayer); if (money >= rigPrice) then money - rigPrice outputChatBox("#ffffff[Bitcoin] Sikeresen vettél egy bányászgépet!", 0, 0, 0, true); end end addCommandHandler...
  3. I am making a script to use flares on aircraft, the script works fine until two players use a flare at the same time, the declared variables change and one of the flares is not destroyed. Here is a video of my script: I was checking the creator of the flare with an outpuchatb...
  4. Hello. Is there any difference between using the entity's name instead of a custom name in a variable? local vehicle = createVehicle (...) or local theVehicle = createVehicle (...) Why does the Wiki always avoid using the entity's name as variable? If I use the entity's name instead...
  5. Hello everyone Good friends I have a little doubt I do scripts for mta 3 years ago is from the beginning I wonder one thing about the server side. let's start, we all know that variables used on the server side have their value shared with the whole server. so I can dribble this pro...
  6. Dear users, this is the file a.lua: lanciarazzi = { } basirazzi = { } sbarra = 0 function crealanciatori() sbarra = createObject(968, -1526.4400439453, 481.39999389648, 6.905, 0, 270, 0) sbarra.breakable = false lanciarazzi = { createObject(3884, -1496.8, 590.4, 42.05, 0,...
  7. My code at the end contains button variables but it defines in 2 cases: 1 - as button1 variable 2 - creates button button1 = guiCreateButton(747, 286, 102, 40, "", false) button2 = guiCreateButton(498, 286, 102, 40, "", false) how can i replace it or prevent creation? i just wa...
×
×
  • Create New...