Jump to content

AcidbRain

Members
  • Posts

    45
  • Joined

  • Last visited

AcidbRain's Achievements

Rat

Rat (9/54)

0

Reputation

  1. I'd recommend to use slothbot; with a few lines of code you can have an AI bot roaming on your map. PS: They won't race but they'll shoot at you.
  2. https://wiki.multitheftauto.com/wiki/ShowChat
  3. Thank you. GTA's distance unit is indeed equal to one meter (http://gta.wikia.com/Unit#GTA3.2C_GTAVC_.26_GTASA), I was just not aware of the 1/50 quirk.
  4. The actualspeed variable must still be multiplied by a factor greater than 1 in order to yield a useful value. However there's no conclusive argument on what exactly is the unit of the getElementVelocity value. On scripts available at the community site, I've seen people multiply it by 100, 160 or even by 200.
  5. Look at the order of the key and keyState parameters (https://wiki.multitheftauto.com/wiki/BindKey), you have to switch them on the calls to bindKey and unbindKey.
  6. Are you using a controller in analog mode?
  7. Try using the onMapStarting event by changing the first line to: addEventHandler( "onMapStarting", getRootElement( ),
  8. Both racepickup and checkpoint elements support the upgrades attribute, where you can define a comma-separated list of vehicle upgrade ids that should be applied when the player's vehicle hits them. The only catch is that if you have a single upgrade, you should add a dummy value so that it can be parsed as a table. Thus, if you want to add a nitro upgrade to a checkpoint, you set the attribute as: <checkpoint upgrades="1010,0" posX="...
  9. You can add more element types to move by editing first line: local ElementTypes = { "object", "pickup", "marker", "vehicle", "blip", "racepickup", "spawnpoint" } Here, "racepickup" and "spawnpoint" are used in race maps. If you have maps for other game modes, you'll have to add the element types that those game modes require.
  10. g_IsDestructionDerby = nil addEventHandler("onMapStarting", root, function(mapInfo, mapOptions, gameOptions) g_IsDestructionDerby = (mapInfo.modename == "Destruction derby") end )
  11. I still prefer download and no pictures than the other way round. Thanks!
  12. You need a map converter, see this one: https://forum.multitheftauto.com/viewtop ... 94&t=21794
  13. Yes, the parameters should be deltas, not final coordinates.
  14. See this thread: https://forum.multitheftauto.com/viewtop ... 94&t=27015
  15. To put it simply, they run your server on an overcrowded box and then blame the poor performance on YOUR resources.
×
×
  • Create New...