Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Maybe your font is corrupted.
  2. Castillo

    buug

    You're welcome.
  3. That doesn't make any sense, it works on my server.
  4. Castillo

    buug

    local myfont = dxCreateFont("ZOMBI.ttf", 20 ) local myfont1 = dxCreateFont("ZOMBI.ttf", 32 ) That has to be outside of the onClientRender event.
  5. 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) 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 ) Try that.
  6. Write: "/debugscript 3" on chatbox and look at the bottom of your screen, see what it outputs when you restart/start the script.
  7. I don't really understand what do you mean.
  8. Castillo

    Xiti userpanel

    You bought it? that sounds strange, since it was uploaded to the community days ago.
  9. Added the resource to acl.xml?
  10. viewtopic.php?f=91&t=61077&p=581945 Try there.
  11. And when are you using the guiSetFont?
  12. You can use fetchRemote, but you must host the files on the same host as your server. I use it for my custom vehicle mod downloader at SAUR server, works brilliant.
  13. The MTA comes with a resource named "gps" which has nodes table.
  14. local pickups = { } local pickup = createPickup ( args... ) pickups [ pickup ] = "variable1" addEventHandler ( "onPickupHit", pickup, function ( ) outputChatBox ( pickups [ source ] ) end ) Element data would work aswell.
  15. Yes, as far as I know.
  16. Yes, it'll count it as an element.
  17. You can store the pickups on tables, defining there the variables for each.
  18. Is kinda obvious what he means by with only one weapon, he wants to show the image only when you are holding a M4. @Igor: Use the following functions: guiCreateStaticImage bindKey getPedWeapon guiSetVisible
  19. Start the resource named "interiors", it comes with the MTA server.
×
×
  • Create New...