Jump to content

Roderen

Members
  • Posts

    6
  • Joined

  • Last visited

Roderen's Achievements

Vic

Vic (3/54)

1

Reputation

  1. Should I write server and client parts in separate files or all in one? Or how is it convenient for me?
  2. function getUpPickupCJ() local spawn = createPickup(2495.3962402344, -1690.7670898438, 14.765625, 3, 1318, 0) spawnPlayer(source, 2496.049804, -1695.238159, 1014.742187) end addEventHandler("onPickupHit", spawn, getUpPickupCJ)
  3. function BINDkill(source, command) bindKey(source, "n", "down", function() killPed(source, source) end) end addCommandHandler("bk", BINDkill) At the moment, the bind works only after the command in the chat. How to make the bind work when the server starts?
  4. Thank you! And the last question. How to add several values to an array at once (in my case, these are coordinates)? There are two coordinates. How to correctly enter more than one value into an array? 1 - 2501.7138671875, -1658.6333007812, 13.387635231018 ,-0, 0, 140.31568908691 2 - 411, 2505.1791992188, -1664.51953125, 13.391730308533, 0, 0, 90
  5. local veh = {"411, 2505.1791992188, -1664.51953125, 13.391730308533, 0, 0, 90"} function Vehicles() createVehicle(veh) end addEventHandler("onResourceStart", root, Vehicles)
×
×
  • Create New...