HeavyMetal Posted February 5, 2013 Posted February 5, 2013 (edited) 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? Edited February 5, 2013 by Guest
HeavyMetal Posted February 5, 2013 Author Posted February 5, 2013 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
Raahim Posted February 6, 2013 Posted February 6, 2013 Yes, that's possible... Didn't SAUR had that or almost same? I mean SAUR 3.0, is it in 4.0? Well, idk.... Anyway, O really recommend you, HeavyMetal that you visit SAUR Utopia RPG. That is the best RPG server in my opinion!
AJXB Posted February 6, 2013 Posted February 6, 2013 Ye, its possible, need some work, not a lot, Good luck.
HeavyMetal Posted February 6, 2013 Author Posted February 6, 2013 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
HeavyMetal Posted February 6, 2013 Author Posted February 6, 2013 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?
Castillo Posted February 6, 2013 Posted February 6, 2013 Yes, you must set the vehicle dimension after created.
HeavyMetal Posted February 6, 2013 Author Posted February 6, 2013 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"
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now