waqaarali Posted August 3, 2013 Posted August 3, 2013 So i was in a server and i saw an awesome walking style, how do i set the character walking style?
waqaarali Posted August 3, 2013 Author Posted August 3, 2013 It don't work i tried this local setPedWalkingStyle ( source, 121 )
waqaarali Posted August 3, 2013 Author Posted August 3, 2013 setPedWalkingStyle ( source, 121 ) Like this?
Castillo Posted August 3, 2013 Posted August 3, 2013 Well, 'source' must be a player, you can set it when player joins, use onPlayerJoin.
waqaarali Posted August 3, 2013 Author Posted August 3, 2013 addEventHandler("onPlayerJoin", setPedWalkingStyle) This?
waqaarali Posted August 3, 2013 Author Posted August 3, 2013 Or this ? setPedWalkingStyle ( onPlayerJoin, 121 )
Castillo Posted August 3, 2013 Posted August 3, 2013 No, that doesn't make any sense. addEventHandler ( "onPlayerJoin", root, function ( ) setPedWalkingStyle ( source, 121 ) end )
bandi94 Posted August 3, 2013 Posted August 3, 2013 server side function walk_style() setPedWalkingStyle ( source, 121 ) end addEventHandler ( "onPlayerJoin", getRootElement(), walk_style )
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