Gallagher Posted November 24, 2013 Share Posted November 24, 2013 Hello! I would like all players to execute the animation when I type / fun. what should I put in place the source? thank you! [list]function fun() setPedRotation(ped1, 315) setPedAnimation( [color=#BF0000]source[/color], "ped", "WOMAN_walknorm") end addCommandHandler("makemyped", fun)[/list] Link to comment
glowdemon1 Posted November 24, 2013 Share Posted November 24, 2013 local players = getElementsByType ( "player" ) for a,thePlayer in ipairs(players) do setPedAnimation() end Use this instead, loop thru each player. 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