Jump to content

Banex

Members
  • Posts

    230
  • Joined

  • Last visited

Everything posted by Banex

  1. convertNumber and tonumber bears no resemblance ConverteNumber will show the number with commas, for example: 1,000,000 In this example the wiki, tonumber will be the number you want to set your Money, example: / setcash 1000000 If you are asking this because of the lcd1232 reply, he is wrong, it is not necessary to use tonumber because getPlayerMoney already generates a number
  2. LekRoots I did not understand what you said Castillo said that this function is not standard MTA and I did not say anything contrary to what he said ... https://wiki.multitheftauto.com/wiki/Useful_Functions
  3. as I said before, it is not a standard function of the MTA you need to put the code in your script. Otherwise it will not work
  4. convertNumber is not a native function of the MTA, then you need to add this function in your script function convertNumber ( number ) local formatted = number while true do formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", '%1,%2') if ( k==0 ) then break end end return formatted end
  5. try this local x, y = guiGetScreenSize() GUIEditor.staticimage[1] = guiCreateStaticImage(0, 0, x, y, ":Registration_System/Images/loginpanel.png", false)
×
×
  • Create New...