Jump to content

Lloyd Logan

Members
  • Posts

    642
  • Joined

  • Last visited

Everything posted by Lloyd Logan

  1. So if I wanted to create a random marker with this Array would it be, dropO = unpack(math.random(#dropoffs)) createMarker( dropO, "cylinder", 1.5, 255, 0, 0) Something like that:/
  2. Replace it to get a random co-ordinate?
  3. I don't know what you mean? Alot of servers have a FPS limit, such as 36
  4. A couple of points. 1. Will it get 1 random co-ordinates out 10? 2. I dont understand how i could use #, and what's and indexed table?
  5. I understand what you mean now! So if I create two tables, one to pick up, and one to drop off, how would i use math.random to pick out one from each table and set them on the map?
  6. Sorry, I am totally confused, so far i have, for k, v ipairs(dropOffs) do Thats all I have got right now ( I feel i might give up on scripting altogether now!
  7. Right, i am kind of confused, I will try and create some code to show you.
  8. Lloyd Logan

    Taxi Job

    Hey, how do i make it so that when a player enters a marker (picks up ped) its displays a random drop off marker from an array/list?
  9. Thank you!! Sorry about this but as a general question, how can I delete/erase a ped?
  10. I know, sorry, I'm kinda in an annoyed mood right now, and you're the only one I am talking to Sorry!
  11. Sorry, Castillo, when I hit any marker, the ped is warped into the Veh, how would i make it so that the ped is only warped when it hits that client side marker?
  12. Well you said A bit insulting considering I assumed it was SAMP because he said it this possible to script in MTA, that kinda leads you off thinking it is MTA. P.S. I know
  13. Hey, I want it so that when the player enters the marker it warps the Created ped into the vehicle? client pickPed = createMarker(1790.33105, -1909.81689, 13.03162, "cylinder", 1.5, 255, 0, 0) function warpit() triggerServerEvent("doIt", source, "pickPed") end addEventHandler("onClientMarkerHit", root, warpit) server createMarker(1777.95203, -1892.48059, 12.38782, "cylinder", 0.9, 255, 0, 0) taxiPed = createPed(252, 1789.95386, -1910.94507, 13.03228) taxiVeh = createVehicle(420, 1777.95203, -1892.48059, 12.38782) function pickPed() warpPedIntoVehicle( taxiPed, taxiVeh, 2) end addEvent("doIt", true) addEventHandler("doIt", root, pickPed) If it it possible, could you make it so that the ped is warped in the current vehicle the player is in? Instead of the createVeh?
  14. Nearly anythings possible with LUA, so yes that is makeable!
  15. I would have hoped that you have removed them from your server, yes?
  16. Could you either post your script here, or post a link to that resource?
  17. You can either host a server from a website (money), or you can host it from your own computer! (Need your ports forwarded for others to play)
  18. Anyways, I'd be glad to help you with this!
×
×
  • Create New...