Bzz335 Posted January 12, 2014 Share Posted January 12, 2014 Hi guys,i must ask you again about tables. Position.lua: JailPoition={ [1]={0,0,0}, } PDposition={ [1]={0,4,1), --Where's player will be spawned after jail. } Server.lua: setTimer (setElementPosition, 60000, 1, source,x,y,z) I need to "unpack" a PDposition table and get "x,y,z". Thanks. Link to comment
DakiLLa Posted January 12, 2014 Share Posted January 12, 2014 setTimer( setElementPosition, 60000, 1, source, unpack( PDposition[ 1 ] ) ) 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