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?
Castillo Posted August 3, 2013 Posted August 3, 2013 setPedWalkingStyle San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
waqaarali Posted August 3, 2013 Author Posted August 3, 2013 It don't work i tried this local setPedWalkingStyle ( source, 121 )
Castillo Posted August 3, 2013 Posted August 3, 2013 Remove that "local". San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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 ) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
bandi94 Posted August 3, 2013 Posted August 3, 2013 server side function walk_style() setPedWalkingStyle ( source, 121 ) end addEventHandler ( "onPlayerJoin", getRootElement(), walk_style ) Ingame Name : |DGT|Puma DGT Clan Server 24/7 Owner/Scripter MultiGameMode in progress :
Castillo Posted August 3, 2013 Posted August 3, 2013 No point on closing it. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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