Jump to content

manve1

Retired Staff
  • Posts

    1,283
  • Joined

  • Last visited

Everything posted by manve1

  1. There is an Event called "onClientClick"
  2. use: getPedOccupiedVehicle
  3. manve1

    Question

    Don't put it in the event? for example: local window = guiCreateWindow(...) addEventHandler("onClientRender",getRootElement(), function() guiSetVisible(window,false) -- or whatever end )
  4. manve1

    jailTimer

    why you using "time = getTimerDetails( thatTimer )" as a string in "dxDrawText", it will draw "time" instead of the time that's left.
  5. https://community.multitheftauto.com/in ... ls&id=5734 DONE
  6. as Waba said, create loops
  7. manve1

    Sprint limit

    Im not sure about a function, but you can use keys to get if a person is sprinting
  8. Mind explaining what you really want to get made, if we should use save systems ect ...
  9. there is no function called "isWindowOpen" use "guiGetVisible" and a lot more wrong stuff like events in your code
  10. Contact the owner for this resource.
  11. manve1

    [Help] Pickup

    giveWeapon is wrong. parachute is 46 if im right. not 371
  12. Kaip CrystalMV sake, ziurint ka tu laikai "pagrindu"
  13. That might be the case that ':O' over writes other ':O's
  14. manve1

    Script Help

    local connection = nil function connect( ) connection = dbConnect( "mysql", "dbname=aboudmdb;host=***HOST IP***;port=3306;unix_socket=/var/run/mysqld/mysqld.sock", "USERNAME", "PASSWORD", "share=1" ) if connection then outputConsole ( "Server is now connected with the MySQL database!", 1 ) return true else outputConsole ( "Connection with the MySQL database failed!", 1 ) return false end end addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), connect ) try this
  15. He is asking for dxDraw3DImage, not dxDraw3DText or something like that.
  16. Then other only thing is just try re-making the group panel, or paying someone to make one.
  17. Learn scripting and make it yourself, that's one of the best ways to have a script file that you know how it should look.
  18. Go to mta community, it contains group panels already, so you just need to search for the right one, if none of them are good for you, make your own one, or pay someone to make it for you.
  19. I forgot to mention, that before destroying and element, always check if it exists, or else you just going to get an error. (( you can getPedOccupiedVehicle to get the vehicle a person is in and then if it returns true you can destroy it. ))
  20. It doesn't contain an effect on the spawning of an element, local variable just makes it local or global, remove all of the 'local' bits in your script and try it.
  21. 'local' variables are only in one function, unless its out of function, remove 'local' and that will make it global, which will for a certain work if you create a vehicle in one function, then try to destroy it in another one.
  22. Make it by yourself, if you can't, you have to pay to get it made or learn scripting
  23. It won't work if you give yourself the vehicle via the admin panel that is because you got event that only gets triggered when a person enters a vehicle and exits, you could use a timer instead that checks when a person is in vehicle or not.
×
×
  • Create New...