waqaarali Posted August 3, 2013 Share 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? Link to comment
waqaarali Posted August 3, 2013 Author Share Posted August 3, 2013 It don't work i tried this local setPedWalkingStyle ( source, 121 ) Link to comment
waqaarali Posted August 3, 2013 Author Share Posted August 3, 2013 do i add function? Link to comment
waqaarali Posted August 3, 2013 Author Share Posted August 3, 2013 setPedWalkingStyle ( source, 121 ) Like this? Link to comment
Castillo Posted August 3, 2013 Share Posted August 3, 2013 Well, 'source' must be a player, you can set it when player joins, use onPlayerJoin. Link to comment
waqaarali Posted August 3, 2013 Author Share Posted August 3, 2013 addEventHandler("onPlayerJoin", setPedWalkingStyle) This? Link to comment
waqaarali Posted August 3, 2013 Author Share Posted August 3, 2013 Or this ? setPedWalkingStyle ( onPlayerJoin, 121 ) Link to comment
Castillo Posted August 3, 2013 Share Posted August 3, 2013 No, that doesn't make any sense. addEventHandler ( "onPlayerJoin", root, function ( ) setPedWalkingStyle ( source, 121 ) end ) Link to comment
bandi94 Posted August 3, 2013 Share Posted August 3, 2013 server side function walk_style() setPedWalkingStyle ( source, 121 ) end addEventHandler ( "onPlayerJoin", getRootElement(), walk_style ) Link to comment
waqaarali Posted August 3, 2013 Author Share Posted August 3, 2013 Can you close the topic, thanks 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