menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripters
Insufficient permissions?
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
Insufficient permissions?
XxXSalvatorXxX
Join Date: 2014-12-26
Post Count: 169
#183752241
Tuesday, February 16, 2016 2:00 PM GMT
I'm getting an error when I launch the game that says I have insufficient permissions to set DevEnableMouseLockOption in my own game?
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
cheesecake123456
Join Date: 2009-06-01
Post Count: 1529
#183752385
Tuesday, February 16, 2016 2:04 PM GMT
Is your code: game:GetService('StarterPlayer').EnableMouseLockOption = true --(or false)
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
XxXSalvatorXxX
Join Date: 2014-12-26
Post Count: 169
#183752591
Tuesday, February 16, 2016 2:09 PM GMT
I was trying to turn off the mouse lock option when the player sprints but the game says I don't have sufficient permissions to do this...
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
XxXSalvatorXxX
Join Date: 2014-12-26
Post Count: 169
#183752700
Tuesday, February 16, 2016 2:12 PM GMT
Nevermind I found the problem.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
cheesecake123456
Join Date: 2009-06-01
Post Count: 1529
#183752702
Tuesday, February 16, 2016 2:12 PM GMT
Well the wiki(
http://wiki.roblox.com/index.php?title=API:Class/Player/DevEnableMouseLock
) says that the value of DevEnableMouseLock is set by the value of EnableMouseLockOption, so try changing that instead of DevEnable.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right