Jump to content

ليش نا يشتغل؟؟


Recommended Posts

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

تبي كود تكتب في اف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 ) --كلمة التى تقوم بتوقيف الحركة

 

  • Like 1
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...