Jump to content

HeavyMetal

Members
  • Posts

    67
  • Joined

  • Last visited

Everything posted by HeavyMetal

  1. its not working, it is on a interior and i started it without setting dimension and it is only visible on dimension 0
  2. this change the marker dimension, but i think this command can only make it visible on 1 dimension at time, i want it in all dimensions at the same time, how can i make this with this command? if it is possible
  3. i found a problem, dont know if i caused it but, i removed the getElementHealth part to delete all cars in the water even if it is not destroyed, and i found out that when i start the resource it is deleting all cars in the server. what is wrong? setTimer( function() for _,vehicle in ipairs(getElementsByType("vehicle")) do if isElementInWater(vehicle) then destroyElement(vehicle) end end end, 1300, 0 )
  4. im with a project and for it i need to know if is possible, or how to make a marker visible in all dimensions thanks
  5. i know this is a noob question but, getElementDimension and getElementInterior returns a integer right? the server is saying it expected a number but got "nill"
  6. now it is working ! is there any specific command to spawn a car in a dimension, or i need to spawn it and change the dimension after spawned?
  7. ok, the first problem i got making it, im working on a sql table to save the cars, and seens like it dont remember that the table already exist, everytime i start it, it creates the table, and dont save nothing, and on the next time i start it the same, it create, and nothing. anyone knows what may cause that? thanks, this is my first script, im learning a lot
  8. yeaah! thats good to know!! maybe i will try to do it, but i dont know almost nothing in .lua i will need a lot of help anyone have commands or things that may be usefull to know? edit: how to spawn and save cars on other dimensions or take them from one dimension to another? i cant find any command with this option
  9. yesterday i was looking at the interiors, and i got to a interior, and it gave me a good idea, but i dont know much of scripting so i dont know how to do it, and dont even know if it is possible, the idea is: a person have a dimension related to it's account name,by paying to buy the "garage", and when the person stands on a marker, on foot or with a car, it teleport the person to the interior and to its private dimension where the cars can be stored and will be saved. and by stopping with a car on the marker inside the garage, you go to the dimension 0 and to the real world, (you get of the garage with the car) , its a nice idea is this possible?
  10. is not working but thanks anyway tried to modify but i cant make it work
  11. i use a resource to save all cars on my server, and it saves destroyed cars too, what is a problem,so i almost fixed this problem by using a script that delete the vehicle when it explode, but now i noticed that if a car fall on the water it will reach 0 life and get destroyed without exploding, so it will not get deleted by the server and will get saved. anyone knows a way to delete all 0 life cars or something triggered by the vehicle falling on the water to delete itself? i couldnt find anything on resources or in the forums about this, so im posting. thanks
  12. thanks, it worked , it is awsome!, thanks for making this mod, it will be a lot more fun to play with it. edit: the cars are not stoping when im on its way or they reduce the speed and keep pushing me, is that normal? its possible to steal them?
  13. sorry, im new in all this stuff, i didnt know where is this documentation, and dont know where the traffic resource is either i installed mta two days ago and this is the first thing im trying to install, can you please make a tutorial saying where to put each folder? i downloaded: npchlc_traffic_0.1 paths_san_andreas_1.0 npc_hlc_0.1 server_coldata_1.0 bytedata_1.0 i believe all of them are needed for the mod to work right? thanks
  14. still, got all of them now, put on the "right folder" and nothing
  15. Im trying for at least four hours to find a way to install this resource mod or whatever, and im really getting confused because everyone just say: put it on server/mod/deathmatch/resource and it will work, but it dont already tryed to put it on all the folders, tryed the refresh on the server, tryed the refresh on the server console, and it dont even appear on the list. and when it appear, i cant run it please someone help me here is the link of what i want to install: http://crystalmv.net84.net/pages/scripts/npchlc_traffic.php thank you very much
×
×
  • Create New...