Lukkaz Posted February 15, 2011 Share Posted February 15, 2011 (edited) close this no suggestions Edited February 20, 2011 by Guest Link to comment
CowTurbo Posted February 15, 2011 Share Posted February 15, 2011 use [lua] [/lua] tags please Link to comment
Lukkaz Posted February 15, 2011 Author Share Posted February 15, 2011 my apologies, can anyone help me out? Link to comment
Lukkaz Posted February 16, 2011 Author Share Posted February 16, 2011 bump need some creative ideas to achieve interiorID. Link to comment
SDK Posted February 16, 2011 Share Posted February 16, 2011 I'm sorry but this is a 377 lines paste, no one is going to look through that to help you. Either explain how your script works or/and paste the relevant code Link to comment
Lukkaz Posted February 17, 2011 Author Share Posted February 17, 2011 okay well the script works like this, the interiors of my server are logged into a mySQL db. They logged the interiorID, outside x ,y ,z interiorX, y, z and owner ect. However in the functions it will be linked to command handlers that get the interiorID that way. ex: addCommandHandler( "getinterior", function( thePlayer, ...) end meaning it's used with the syntax of getinterior 4 and it will retrieve the id from the database ect. However with my code it is simply /knock no additional arguments to tell the function what the ID is. I tried comparing the characters position to the outsideX,Y,Z of the interiors with no luck. Any suggestion on how I could get the interior ID of the door the player knocks at? Link to comment
Lukkaz Posted February 18, 2011 Author Share Posted February 18, 2011 Not looking for scripts here guys just looking for ideas or suggestions on how to get the interiorID of the door being knocked on Link to comment
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