Jump to content

NeXuS™

Retired Staff
  • Posts

    1,134
  • Joined

  • Last visited

  • Days Won

    37

Everything posted by NeXuS™

  1. In what order are you loading in the model?
  2. I'm pretty sure this'll never happen, as you can't execute MTA's hardcoded commands for security issues.
  3. I dont think you can execute MTA's hardcoded commands.
  4. You'll have to create a command to create an input from the console.
  5. Do you mean, you want to write into the player's console on client-side?
  6. Are you sure it's not a problem in the script itself? We could easily do a youtube to screen resource on our server.
  7. Taken from takePlayerScreenShot wiki page.
  8. Is it not removing the row? Btw, if you remove the row before getting the data out of it, the data will be different than it is supposed to be.
  9. I think that's not possible at the moment, but you could wait for someone's else answer.
  10. I don't think there is any way to do it, except by changing the theme in your settings.
  11. Check this comment. If you would not understand it, as the author has kinda bad grammar. Open the model's TXD and check for the 2 images he wrote down. If it doesn't contain those images, the skin doesn't have a custom crosshair and you may have to create it.
  12. NeXuS™

    Wasted script

    Using the provided event and the dxDrawText function, you can easily do this.
  13. What you could do @kieran, is make just a vehicle at the position where you want the entering position for the ship to be. Set that vehicle's alpha to 0, and then whenever a player enters the vehicle, it'd get teleported into the ship.
  14. function openthegui(button, state, absoluteX, absoluteY, worldX, worldY, worldZ, clickedElement) if state == "down" then if(guiGetVisible(GUIEditor.window[1])) then -- if the window is visible closeWindow() --close else guiSetVisible(GUIEditor.window[1], true) --else show the window setElementData(localPlayer,"2048_active",true,true) showCursor(true) end end end addEventHandler("onClientClick", getRootElement(), openthegui)
  15. What do you mean by "when the cursor is on the object."?
  16. I suppose they use setVehicleHandling and the seatOffsetDistance attribute.
  17. I'm pretty sure you are doing something wrong, because the error is referring to a variable called "type", and you don't have that variable used in the script above.
  18. Go to your mta_main and search for the findPlayer function.
  19. Are you sure that it's throwing the error at line no. 7? Whats the error?
  20. Thanks, been working on it lately, while I'm highly active on the forum after my break because of an motorcycle accident. GLHF, and just keep motivated, feel free to rage on anything which should work but doesn't.
  21. Read the wiki tutorial about this.
  22. If it doesn't affect the limit, you'll have to do some way around with removing those lines which are not being displayed.
  23. local sX, sY = guiGetScreenSize() local X, Y, Width, Height = 0.1, 0.1, 0.2, 0.2 local guiW = guiCreateWindow(X, Y, Width, Height, "Test", true) local pixelX, pixelY, pixelWidth, pixelHeight = X*sX, Y*sY, Width*sX, Height*sY Try this one.
×
×
  • Create New...