Jump to content

xXMADEXx

Members
  • Posts

    2,718
  • Joined

  • Last visited

Everything posted by xXMADEXx

  1. isPedInVehicle
  2. It would be cool to make a modloader that uses HTTP. So you can have all the mods you want & reduce the download.
  3. You can make a custom .txd file for it.
  4. ((Not Tested)) addEventHandler("onClientGUIClick", root, function(Arrow) if ( source == PCScheckbox2 ) then if guiCheckBoxGetSelected(PCScheckbox2) then triggerServerEvent("Arrow",localPlayer) else triggerServerEvent("Arrow",localPlayer) end end end )
  5. You should search the tutorial section. viewtopic.php?f=148&t=53694 viewtopic.php?f=148&t=51875
  6. addEventHandler("onVehicleStartEnter",resourceRoot, .... You cannot exacly drive get into the resource... lol Use this: -- createObject local x,y,z = getElementPosition(Vehicle) local marker = createObject ( 1318, x,y,z+2, 0, 0, 0 ) addEventHandler("onVehicleStartEnter", Vehicle, function () attachElements (marker,Vehicle,0,0,2) end )
  7. Try this: function doAnimation ( ) local x, y = guiGetSize ( win, false ) if ( y <= 537 ) then guiSetSize ( win, x, y + 0.04, false ) else removeEventHandler ( "onClientRender", root, doAnimation ) end end addEventHandler ( "onClientRender", root, doAnimation )
  8. Wow, looks really amazing! Can't wait to see it
  9. Replacing car sounds isn't impossible.... There are many topics here on the forums about this. Just go on Google and search: "MTA Forums replacing car sounds" and try to find a topic that can help.
  10. You're welcome.
  11. SQLite is faster, but the file is saved in the resource, its its much more complicated to be able to make it work with a website, so if your planning on using the same database for the server and website, you need to use MySQL.
  12. If you wanted your website to be able to share the same database as your server, you would need to use MySQL. These are the (Just incase, here are the PHP functions: ) mysqli_connect mysqli_query mysqli_fetch_array
  13. https://forum.multitheftauto.com/viewtopic.php?f ... 8&p=543216
  14. 1. I recommend SQLite because it is faster... 2. Not really sure what you mean... But I think your tyring to get data from a database. You should just use setAccountData & getAccountData
  15. Incorrect... For some reason you do have to do a check on the hitelement otherwise it will show for all players.. Not really sure why, but it does.
  16. no, custom animations arn't supported with MTA yet.
  17. destroyElement createPed ?
  18. When someone enters a vehicle (onVehicleEnter) get the model, and if the model is 423 then set the vehicles handling...
  19. Im not really interested in it, but how much are you selling it for?
  20. You can download r946.zip&can=2&q=]this and upload the admin panel from it.
  21. I have never ever had an issue where a lot of timers caused lag, especially when client side. Only if you have a massive amount of timers looping rapidly will it cause lag... Acutely they do cause lag... especially on the client side, however, you might not notice it if its just you and a couple of friends play on the server.
  22. use attachElements?
  23. What was wrong with the old compiler?
  24. You should use getTickCount instead of setTimer. Too many timers can cause lag.
×
×
  • Create New...