Foster Posted June 20, 2018 Share Posted June 20, 2018 function walkstyle(thePlayer) setPedWalkingStyle(localPlayer,128) end function walk ( thePlayer ) elseif isObjectInACLGroup("user."..walk, aclGetGroup("Console")) then walkstyle(thePlayer) end end addCommandHandler("walk", walk) I couldn't fix it. How can i fix this code. Link to comment
Dimos7 Posted June 20, 2018 Share Posted June 20, 2018 is that script runnuing at server side? Link to comment
Moderators Patrick Posted June 20, 2018 Moderators Share Posted June 20, 2018 (edited) -- SERVER SIDE SCRIPT function walkstyle(thePlayer) setPedWalkingStyle(thePlayer, 128) end function walk ( thePlayer ) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup ( "Console" ) ) then walkstyle(thePlayer) end end addCommandHandler("walk", walk) Edited June 20, 2018 by Patrick2562 1 Link to comment
Foster Posted June 20, 2018 Author Share Posted June 20, 2018 1 hour ago, Dimos7 said: is that script runnuing at server side? Yes. 1 hour ago, Patrick2562 said: -- SERVER SIDE SCRIPT function walkstyle(thePlayer) setPedWalkingStyle(thePlayer, 128) end function walk ( thePlayer ) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup ( "Console" ) ) then walkstyle(thePlayer) end end addCommandHandler("walk", walk) Thank you! 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