<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Martin10jatek</id>
	<title>Multi Theft Auto: Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Martin10jatek"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Martin10jatek"/>
	<updated>2026-05-13T09:32:14Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=HU/setPedAnimation&amp;diff=63957</id>
		<title>HU/setPedAnimation</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=HU/setPedAnimation&amp;diff=63957"/>
		<updated>2019-08-28T09:41:51Z</updated>

		<summary type="html">&lt;p&gt;Martin10jatek: little changes to make arguments more understandable to hungarians&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
&lt;br /&gt;
Beállítja az [[Animations|animációját]] egy [[player|játékosnak]] vagy [[ped|pednek]]. Ha nincs megadva animáció akkor leállítja automatikusan a jelenleg futó animációt.&lt;br /&gt;
&lt;br /&gt;
==Szintaxis==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setPedAnimation ( ped thePed [, string block = nil, string anim = nil, int time = -1, bool loop = true, bool updatePosition = true,&lt;br /&gt;
                       bool interruptable = true, bool freezeLastFrame = true, int blendTime = 250 ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[ped]]:setAnimation||getPedAnimation}}&lt;br /&gt;
&lt;br /&gt;
===Kötelező argumentumok===&lt;br /&gt;
*'''thePed:''' a [[player|játékos]] vagy [[ped]] akivel futtatni akarjuk a [[Animations|animációt]].&lt;br /&gt;
&lt;br /&gt;
===Opcionális argumentumok===&lt;br /&gt;
{{OptionalArgHu}}&lt;br /&gt;
*'''block:''' az [[Animations|animáció]] block neve.&lt;br /&gt;
*'''anim:''' az [[Animations|animáció]] neve a blockon belül.&lt;br /&gt;
*'''time:''' mennyi ideig fusson az animáció (nem minden animációnál működik).&lt;br /&gt;
*'''loop:''' ismétlődjön-e az animáció.&lt;br /&gt;
*'''updatePosition:''' megváltoztatja a ped pozicióját hasznos a mozgás animációknál.&lt;br /&gt;
*'''interruptable:''' ha ''false''-ra van állítva semmi tudja majd megzavarni az animációt.&lt;br /&gt;
*'''freezeLastFrame:''' ha ''true''-ra van állítva akkor az animáció vége után az utolsó képkocka fog folyamatosan lejátszodni.&lt;br /&gt;
*'''blendTime:''' mennyi ideig lesz mixelve a képkocka az előzővel milliszekundumban megadva.&lt;br /&gt;
&lt;br /&gt;
===Vissza küldött érték===&lt;br /&gt;
''true'' ha sikeres volt, ellenkező esetben ''false''.&lt;br /&gt;
&lt;br /&gt;
==Példa==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example creates a ped, rotates him, and makes him walk:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function makePed()&lt;br /&gt;
	local thePed = createPed(56, 1, 1, 4, 315)&lt;br /&gt;
	setPedAnimation(thePed, &amp;quot;ped&amp;quot;, &amp;quot;WOMAN_walknorm&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;makemyped&amp;quot;, makePed)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example makes the player sit down and stand up using the command /sit.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function toggleSit(thePlayer)&lt;br /&gt;
	if not getElementData(thePlayer, &amp;quot;sitting&amp;quot;) then&lt;br /&gt;
		setPedAnimation(thePlayer, &amp;quot;ped&amp;quot;, &amp;quot;seat_down&amp;quot;, -1, false, false, false, false)&lt;br /&gt;
		setElementData(thePlayer, &amp;quot;sitting&amp;quot;, true)&lt;br /&gt;
	else&lt;br /&gt;
		-- If you use again this command then your character stand up&lt;br /&gt;
		setPedAnimation(thePlayer)&lt;br /&gt;
		removeElementData(thePlayer, &amp;quot;sitting&amp;quot;)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;sit&amp;quot;, toggleSit)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Issues==&lt;br /&gt;
{{Issues|&lt;br /&gt;
{{Issue|9522|Setting a [[ped|ped's]] or [[player|player's]] animation whilst occupying a [[givePedJetPack|jetpack]] will remove their jetpack, but not the jetpack sound}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Lásd még==&lt;br /&gt;
{{Ped_functions}}&lt;br /&gt;
[[en:setPedAnimation]]&lt;br /&gt;
[[ru:setPedAnimation]]&lt;/div&gt;</summary>
		<author><name>Martin10jatek</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Vehicle_Components&amp;diff=59642</id>
		<title>Vehicle Components</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Vehicle_Components&amp;diff=59642"/>
		<updated>2018-10-07T19:55:26Z</updated>

		<summary type="html">&lt;p&gt;Martin10jatek: changed rear door names from ''rb'' and ''lb' to ''rr'' and ''lr''&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''All components were tested in the vehicle &amp;quot;Sultan&amp;quot;'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*''NOTES:&lt;br /&gt;
**''Unknown Component is all that what give &amp;quot;false&amp;quot; when i try move it.''&lt;br /&gt;
**''Changing wheel position on Z axis doesn't work.''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center; margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;150&amp;quot; scope=&amp;quot;col&amp;quot; style=&amp;quot;background:#8f8f8f;&amp;quot;| Component Name&lt;br /&gt;
! width=&amp;quot;300&amp;quot; scope=&amp;quot;col&amp;quot; style=&amp;quot;background:#8f8f8f;&amp;quot;| Description&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|boot_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Trunk door&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|ug_nitro&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Nitro (tuning part)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|wheel_rf_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Right Front Wheel&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|wheel_lf_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Left Front Wheel&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|wheel_rb_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Right Back Wheel&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|wheel_lb_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Left Back Wheel&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|chassis&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Chassis&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|chassis_vlo&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Chassis (lod)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|ug_roof&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Roof&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|door_rf_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Right Front Door&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|door_lf_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Left Front Door&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|door_rr_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Right Back Door&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|door_lr_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Left Back Door&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|bonnet_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Hood&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|ug_wing_right&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Right wing (tuning part)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|bump_front_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Front bumper&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|bump_rear_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Back bumper&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|windscreen_dummy&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Windscreen&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|ug_wing_left&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Leftwing (tuning part)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|exhaust_ok&lt;br /&gt;
|style=&amp;quot;background:#cfcfcf;&amp;quot;|Exhausts&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Vehicle functions==&lt;br /&gt;
{{Client_vehicle_functions}}&lt;/div&gt;</summary>
		<author><name>Martin10jatek</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=HU/setPedAnimation&amp;diff=59573</id>
		<title>HU/setPedAnimation</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=HU/setPedAnimation&amp;diff=59573"/>
		<updated>2018-10-07T12:35:01Z</updated>

		<summary type="html">&lt;p&gt;Martin10jatek: /* Lásd még */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
&lt;br /&gt;
Beállítja az [[Animations|animációját]] egy [[player|játékosnak]] vagy [[ped|pednek]]. Ha nincs megadva animáció akkor leállítja automatikusan a jelenleg futó animációt.&lt;br /&gt;
&lt;br /&gt;
==Szintaxis==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setPedAnimation ( ped thePed [, string block = nil, string anim = nil, int time = -1, bool loop = true, bool updatePosition = true,&lt;br /&gt;
                       bool interruptable = true, bool freezeLastFrame = true, int blendTime = 250 ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[ped]]:setAnimation||getPedAnimation}}&lt;br /&gt;
&lt;br /&gt;
===Kötelező argumentumok===&lt;br /&gt;
*'''thePed:''' a [[player|játékos]] vagy [[ped]] akivel futtatni akarjuk a [[Animations|animációt]].&lt;br /&gt;
&lt;br /&gt;
===Opcionális argumentumok===&lt;br /&gt;
{{OptionalArgHu}}&lt;br /&gt;
*'''block:''' az [[Animations|animáció]] block neve.&lt;br /&gt;
*'''anim:''' az [[Animations|animáció]] neve a blockon belül.&lt;br /&gt;
*'''time:''' mennyi ideig fusson az animáció.&lt;br /&gt;
*'''loop:''' loopolodjn-e az animáció.&lt;br /&gt;
*'''updatePosition:''' megváltoztatja a ped pozicióját hasznos a mozgás animációknál.&lt;br /&gt;
*'''interruptable:''' ha ''false''-ra van állítva semmi tudja majd megzavarni az animációt.&lt;br /&gt;
*'''freezeLastFrame:''' ha ''true''-ra van állítva akkor az animáció vége után az utolsó képkocka fog folyamatosan lejátszodni.&lt;br /&gt;
*'''blendTime:''' mennyi ideig lesz mixelve a képkocka az előzővel milliszekundumban megadva.&lt;br /&gt;
&lt;br /&gt;
===Vissza küldött érték===&lt;br /&gt;
''true'' ha sikeres volt, ellenkező esetben ''false''.&lt;br /&gt;
&lt;br /&gt;
==Példa==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example creates a ped, rotates him, and makes him walk:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function makePed()&lt;br /&gt;
	local thePed = createPed(56, 1, 1, 4, 315)&lt;br /&gt;
	setPedAnimation(thePed, &amp;quot;ped&amp;quot;, &amp;quot;WOMAN_walknorm&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;makemyped&amp;quot;, makePed)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example makes the player sit down and stand up using the command /sit.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function toggleSit(thePlayer)&lt;br /&gt;
	if not getElementData(thePlayer, &amp;quot;sitting&amp;quot;) then&lt;br /&gt;
		setPedAnimation(thePlayer, &amp;quot;ped&amp;quot;, &amp;quot;seat_down&amp;quot;, -1, false, false, false, false)&lt;br /&gt;
		setElementData(thePlayer, &amp;quot;sitting&amp;quot;, true)&lt;br /&gt;
	else&lt;br /&gt;
		-- If you use again this command then your character stand up&lt;br /&gt;
		setPedAnimation(thePlayer)&lt;br /&gt;
		removeElementData(thePlayer, &amp;quot;sitting&amp;quot;)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;sit&amp;quot;, toggleSit)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Issues==&lt;br /&gt;
{{Issues|&lt;br /&gt;
{{Issue|9522|Setting a [[ped|ped's]] or [[player|player's]] animation whilst occupying a [[givePedJetPack|jetpack]] will remove their jetpack, but not the jetpack sound}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Lásd még==&lt;br /&gt;
{{Ped_functions}}&lt;br /&gt;
[[en:setPedAnimation]]&lt;br /&gt;
[[ru:setPedAnimation]]&lt;/div&gt;</summary>
		<author><name>Martin10jatek</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetPedAnimation&amp;diff=59572</id>
		<title>SetPedAnimation</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetPedAnimation&amp;diff=59572"/>
		<updated>2018-10-07T12:34:38Z</updated>

		<summary type="html">&lt;p&gt;Martin10jatek: /* See Also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
&lt;br /&gt;
Sets the current [[Animations|animation]] of a [[player]] or [[ped]]. Not specifying the type of animation will automatically cancel the current one.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setPedAnimation ( ped thePed [, string block = nil, string anim = nil, int time = -1, bool loop = true, bool updatePosition = true,&lt;br /&gt;
                       bool interruptable = true, bool freezeLastFrame = true, int blendTime = 250 ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[ped]]:setAnimation||getPedAnimation}}&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''thePed:''' the [[player]] or [[ped]] you want to apply an [[Animations|animation]] to.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
{{OptionalArg}}&lt;br /&gt;
*'''block:''' the [[Animations|animation]] block's name.&lt;br /&gt;
*'''anim:''' the name of the [[Animations|animation]] within the block.&lt;br /&gt;
*'''time:''' how long the animation will run for in milliseconds.&lt;br /&gt;
*'''loop:''' indicates whether or not the animation will loop.&lt;br /&gt;
*'''updatePosition:''' will change the actual coordinates of the ped according to the animation. Use this for e.g. walking animations.&lt;br /&gt;
*'''interruptable:''' if set to ''false'' other tasks wont be able to interupt the animation. Setting this to 'false' also gives this function more power to override other animations that are running. For example, squatting after a jump can be terminated.&lt;br /&gt;
*'''freezeLastFrame:''' if set to ''true'' after animation the last frame will be frozen, otherwise the animation will end and controls will return.&lt;br /&gt;
*'''blendTime:''' how long the animation will mixed with the previous one in milliseconds.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if succesful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example creates a ped, rotates him, and makes him walk:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function makePed()&lt;br /&gt;
	local thePed = createPed(56, 1, 1, 4, 315)&lt;br /&gt;
	setPedAnimation(thePed, &amp;quot;ped&amp;quot;, &amp;quot;WOMAN_walknorm&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;makemyped&amp;quot;, makePed)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example makes the player sit down and stand up using the command /sit.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function toggleSit(thePlayer)&lt;br /&gt;
	if not getElementData(thePlayer, &amp;quot;sitting&amp;quot;) then&lt;br /&gt;
		setPedAnimation(thePlayer, &amp;quot;ped&amp;quot;, &amp;quot;seat_down&amp;quot;, -1, false, false, false, false)&lt;br /&gt;
		setElementData(thePlayer, &amp;quot;sitting&amp;quot;, true)&lt;br /&gt;
	else&lt;br /&gt;
		-- If you use again this command then your character stand up&lt;br /&gt;
		setPedAnimation(thePlayer)&lt;br /&gt;
		removeElementData(thePlayer, &amp;quot;sitting&amp;quot;)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;sit&amp;quot;, toggleSit)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Issues==&lt;br /&gt;
{{Issues|&lt;br /&gt;
{{Issue|9522|Setting a [[ped|ped's]] or [[player|player's]] animation whilst occupying a [[givePedJetPack|jetpack]] will remove their jetpack, but not the jetpack sound}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Ped_functions}}&lt;br /&gt;
[[ru:setPedAnimation]]&lt;br /&gt;
[[HU:setPedAnimation]]&lt;/div&gt;</summary>
		<author><name>Martin10jatek</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=HU/setPedAnimation&amp;diff=59571</id>
		<title>HU/setPedAnimation</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=HU/setPedAnimation&amp;diff=59571"/>
		<updated>2018-10-07T12:34:02Z</updated>

		<summary type="html">&lt;p&gt;Martin10jatek: HU/setPedAnimation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
&lt;br /&gt;
Beállítja az [[Animations|animációját]] egy [[player|játékosnak]] vagy [[ped|pednek]]. Ha nincs megadva animáció akkor leállítja automatikusan a jelenleg futó animációt.&lt;br /&gt;
&lt;br /&gt;
==Szintaxis==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setPedAnimation ( ped thePed [, string block = nil, string anim = nil, int time = -1, bool loop = true, bool updatePosition = true,&lt;br /&gt;
                       bool interruptable = true, bool freezeLastFrame = true, int blendTime = 250 ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[ped]]:setAnimation||getPedAnimation}}&lt;br /&gt;
&lt;br /&gt;
===Kötelező argumentumok===&lt;br /&gt;
*'''thePed:''' a [[player|játékos]] vagy [[ped]] akivel futtatni akarjuk a [[Animations|animációt]].&lt;br /&gt;
&lt;br /&gt;
===Opcionális argumentumok===&lt;br /&gt;
{{OptionalArgHu}}&lt;br /&gt;
*'''block:''' az [[Animations|animáció]] block neve.&lt;br /&gt;
*'''anim:''' az [[Animations|animáció]] neve a blockon belül.&lt;br /&gt;
*'''time:''' mennyi ideig fusson az animáció.&lt;br /&gt;
*'''loop:''' loopolodjn-e az animáció.&lt;br /&gt;
*'''updatePosition:''' megváltoztatja a ped pozicióját hasznos a mozgás animációknál.&lt;br /&gt;
*'''interruptable:''' ha ''false''-ra van állítva semmi tudja majd megzavarni az animációt.&lt;br /&gt;
*'''freezeLastFrame:''' ha ''true''-ra van állítva akkor az animáció vége után az utolsó képkocka fog folyamatosan lejátszodni.&lt;br /&gt;
*'''blendTime:''' mennyi ideig lesz mixelve a képkocka az előzővel milliszekundumban megadva.&lt;br /&gt;
&lt;br /&gt;
===Vissza küldött érték===&lt;br /&gt;
''true'' ha sikeres volt, ellenkező esetben ''false''.&lt;br /&gt;
&lt;br /&gt;
==Példa==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example creates a ped, rotates him, and makes him walk:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function makePed()&lt;br /&gt;
	local thePed = createPed(56, 1, 1, 4, 315)&lt;br /&gt;
	setPedAnimation(thePed, &amp;quot;ped&amp;quot;, &amp;quot;WOMAN_walknorm&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;makemyped&amp;quot;, makePed)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example makes the player sit down and stand up using the command /sit.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function toggleSit(thePlayer)&lt;br /&gt;
	if not getElementData(thePlayer, &amp;quot;sitting&amp;quot;) then&lt;br /&gt;
		setPedAnimation(thePlayer, &amp;quot;ped&amp;quot;, &amp;quot;seat_down&amp;quot;, -1, false, false, false, false)&lt;br /&gt;
		setElementData(thePlayer, &amp;quot;sitting&amp;quot;, true)&lt;br /&gt;
	else&lt;br /&gt;
		-- If you use again this command then your character stand up&lt;br /&gt;
		setPedAnimation(thePlayer)&lt;br /&gt;
		removeElementData(thePlayer, &amp;quot;sitting&amp;quot;)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;sit&amp;quot;, toggleSit)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Issues==&lt;br /&gt;
{{Issues|&lt;br /&gt;
{{Issue|9522|Setting a [[ped|ped's]] or [[player|player's]] animation whilst occupying a [[givePedJetPack|jetpack]] will remove their jetpack, but not the jetpack sound}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Lásd még==&lt;br /&gt;
{{Ped_functions}}&lt;br /&gt;
[[ru:setPedAnimation]]&lt;/div&gt;</summary>
		<author><name>Martin10jatek</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:OptionalArgHu&amp;diff=59569</id>
		<title>Template:OptionalArgHu</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:OptionalArgHu&amp;diff=59569"/>
		<updated>2018-10-07T12:31:35Z</updated>

		<summary type="html">&lt;p&gt;Martin10jatek: I need this to create HU/setPedAnimation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''Megjegyzés:'' Ha opcionális argumentumokat használsz, meg kell adnod az adott argumentum előtt az összeset. Több információ: [[optional arguments]].&lt;/div&gt;</summary>
		<author><name>Martin10jatek</name></author>
	</entry>
</feed>