ice_brasil Posted May 21, 2013 Share Posted May 21, 2013 I want to go to when a player in one dimension, freeroam script is paused and when he gets out of the dimension freeroam working again What do I do? Link to comment
iPrestege Posted May 21, 2013 Share Posted May 21, 2013 You can edit the freeroam and check the player dim use : -- # Client Side You Have To Edit The fr_client.lua File ! getElementDimension Link to comment
ice_brasil Posted May 21, 2013 Author Share Posted May 21, 2013 Is correct ? function FreeroamStop ( player, command, resourceName, commandName, alphaAmount ) if ( getElementDimension ( source ) == 0 and seat == 0 ) then setElementDimension ( source, 1 ) setElementDimension ( theFreeroam, 1 ) alphaAmount = tonumber(0) guiSetAlpha ( Freeroam, 0 ) end addCommandHandler ( "irevento", getRootElement(), changeAlpha ) Link to comment
iPrestege Posted May 21, 2013 Share Posted May 21, 2013 No you're not make a sense the freeroam is not defined any where as i said above you have to edit the file fr_client.lua . Link to comment
Castillo Posted May 21, 2013 Share Posted May 21, 2013 If you stop freeroam, it'll be stopped for everyone, I doubt that's what you want to achieve. 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