Foster Posted June 20, 2018 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.
Moderators Patrick Posted June 20, 2018 Moderators 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
Foster Posted June 20, 2018 Author 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!
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