+Source|> Posted May 23, 2018 Share Posted May 23, 2018 addEventHandler("onResourceStart", root, function() createTeam( "tst", 255, 0, 0 ) end ) addCommandHandler("m", function( player ) if getPlayerTeam( player ) == "tst" then setPedAnimation( player, "dan_up_a" ) end end ) Link to comment
#\_oskar_/# Posted May 23, 2018 Share Posted May 23, 2018 addEventHandler("onResourceStart", root, function() tst = createTeam( "tst", 255, 0, 0 ) end ) addCommandHandler("m", function( player ) local Team = getPlayerTeam( player ) if Team and Team == tst then setPedAnimation(player, "dancing", "dan_up_a") end end ) 1 Link to comment
+Source|> Posted May 23, 2018 Author Share Posted May 23, 2018 14 hours ago, #\_oskar_/# said: addEventHandler("onResourceStart", root, function() tst = createTeam( "tst", 255, 0, 0 ) end ) addCommandHandler("m", function( player ) local Team = getPlayerTeam( player ) if Team and Team == tst then setPedAnimation(player, "dancing", "dan_up_a") end end ) طيب انا الحين سويت انميشن كيف اشيله ؟ Link to comment
TOUNSI |, السعأدة Posted May 23, 2018 Share Posted May 23, 2018 تبي كود تكتب في اف8 كلمة يسوي حركة ؟ function TOUNSI ( source ) setPedAnimation ( source, "dancing", "dan_up_a", -1, true, false, false ) end addCommandHandler ( "Test", TOUNSI ) --كلمة لى تقوم برقص function TOUNSI2 ( source ) setPedAnimation ( source ) end addCommandHandler ( "Test1", TOUNSI2 ) --كلمة التى تقوم بتوقيف الحركة 1 Link to comment
N3xT Posted May 23, 2018 Share Posted May 23, 2018 46 minutes ago, +Source|> said: طيب انا الحين سويت انميشن كيف اشيله ؟ setPedAnimation(player) 1 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