Gallagher Posted November 24, 2013 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]
glowdemon1 Posted November 24, 2013 Posted November 24, 2013 local players = getElementsByType ( "player" ) for a,thePlayer in ipairs(players) do setPedAnimation() end Use this instead, loop thru each player.
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