Jump to content

sQuirreL6

Members
  • Posts

    11
  • Joined

  • Last visited

sQuirreL6's Achievements

Square

Square (6/54)

0

Reputation

  1. Is there any MTA host where you can buy it with Pay Safe Card ? (I'm 16, but you can get VISA or MasterCard when you are 18 in my country)
  2. I want to make if player types a command like /givecar 255 255 255 to add arguments but not only for givecar but for all command even if command does not have arguments if (string.find(guiGetText(chatLabel), "/")) then local cleanCommand = string.gsub(guiGetText(chatLabel), "/", "") local param1, param2, param3, param4 = false if string.find(guiGetText(chatLabel), " ") then param1, param2, param3, param4 = split(cleanCommand, " ") end triggerServerEvent("executeCommand", localPlayer, cleanCommand, param1, param2, param3, param4) Execute like this: executeCommandHandler(command, source, p1, p2, p3, p4)
  3. There is no problem, if you host server your ip is 127.0.0.1 thats localhost. This script checks for ips like ex. 86.32.33.33. You can't do anything about it only if you edit script to set image for you to image that you want...
  4. cs_regular = guiCreateFont("cs_regular.ttf", 15) if (not cs_regular) then cs_regular = guiCreateFont("cs_regular.ttf", 15) if (not cs_regular) then cs_regular = guiCreateFont("cs_regular.ttf", 15) if (not cs_regular) then cs_regular = guiCreateFont("cs_regular.ttf", 15) if (not cs_regular) then cs_regular = guiCreateFont("cs_regular.ttf", 15) if (not cs_regular) then cs_regular = guiCreateFont("cs_regular.ttf", 15) if (not cs_regular) then cs_regular = guiCreateFont("cs_regular.ttf", 15) if (not cs_regular) then cs_regular = guiCreateFont("cs_regular.ttf", 15) end end end end end end end It's working rofl -.-
  5. It's not, sometimes work, sometimes doesn't, I replaced font, with other one and it's not working...
  6. addEventHandler("onClientResourceStart", resourceRoot, function() showCursor(true) guiSetInputEnabled(true) login["Login-Window"] = guiCreateWindow( (screenWidth/2)-150, (screenHeight/2)-117.5, 300, 235,"LOL", false ) --guiSetVisible(login["Login-Window"], false ) guiSetAlpha( login["Login-Window"], 0.50 ) login["Label"] = guiCreateLabel( 20, 20, 260, 15, "Login", false, login["Login-Window"]) guiSetFont(login["Label"], cs_big) end )
  7. addEventHandler("onClientResourceStart", resourceRoot, function() cs_regular = guiCreateFont("cs_regular.ttf", 15) cs_regular2 = guiCreateFont("cs_regular.ttf", 15.5) cs_big = guiCreateFont("cs_regular.ttf", 20) end ) This is my code, but still doesn't work...
  8. sQuirreL6

    Help

    hasObjectPermissionTo
  9. cs_regular = guiCreateFont("cs_regular.ttf", 15) Why sometimes this returns nil? I mean when I restart resource doesn't work, when I restart it again it works.
×
×
  • Create New...