<?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=Grascm</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=Grascm"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Grascm"/>
	<updated>2026-05-02T09:32:55Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=RU/setPedAnimationProgress&amp;diff=26724</id>
		<title>RU/setPedAnimationProgress</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=RU/setPedAnimationProgress&amp;diff=26724"/>
		<updated>2011-08-15T12:39:55Z</updated>

		<summary type="html">&lt;p&gt;Grascm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
&lt;br /&gt;
Задаёт прогресс текущей анимации для педа или игрока.&lt;br /&gt;
&lt;br /&gt;
==Синтаксис==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setPedAnimationProgress ( ped thePed, string anim, float progress)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Обязательные аргументы===&lt;br /&gt;
*'''thePed:''' игрок или пед для которого вы хотите задать прогресс анимации.&lt;br /&gt;
*'''anim:''' текущая анимация, прогресс которой вы хотите задать.(Анимация должна быть применена перед задаванием прогресса)&lt;br /&gt;
*'''progress:''' прогресс анимации который вы хотите задать, значение от 0.0 до 1.0&lt;br /&gt;
&lt;br /&gt;
===Возвращаемое значение===&lt;br /&gt;
Возвращает ''true'' если прогресс установлен успешно, ''false'' в противном случае.&lt;br /&gt;
&lt;br /&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;
Этот пример создаёт педа, применяет к немму анимацию, и замораживает анимацию &amp;quot;проигравшейся&amp;quot; лишь наполовину. &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function animRender( ped1 )&lt;br /&gt;
        setPedAnimationProgress(ped1, &amp;quot;M_SMKSTND_LOOP&amp;quot;, 0.5)&lt;br /&gt;
        setTimer ( animRender, 50, 1, ped1 )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function makePed()&lt;br /&gt;
    local ped1 = createPed(56, 1, 1, 4)&lt;br /&gt;
    setPedAnimation( ped1, &amp;quot;SMOKING&amp;quot;, &amp;quot;M_SMKSTND_LOOP&amp;quot;)&lt;br /&gt;
    setTimer ( animRender, 50, 1, ped1 )&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;
==Смотрите также==&lt;br /&gt;
{{Ped_functions}}&lt;br /&gt;
[[en:setPedAnimationProgress]]&lt;/div&gt;</summary>
		<author><name>Grascm</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=RU/setPedAnimationProgress&amp;diff=26723</id>
		<title>RU/setPedAnimationProgress</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=RU/setPedAnimationProgress&amp;diff=26723"/>
		<updated>2011-08-15T12:39:05Z</updated>

		<summary type="html">&lt;p&gt;Grascm: /* Syntax */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
&lt;br /&gt;
Задаёт прогресс текущей анимации для педа или игрока.&lt;br /&gt;
&lt;br /&gt;
==Синтаксис==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setPedAnimationProgress ( ped thePed, string anim, float progress)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Обязательные аргументы===&lt;br /&gt;
*'''thePed:''' игрок или пед для которого вы хотите задать прогресс анимации.&lt;br /&gt;
*'''anim:''' текущая анимация, прогресс которой вы хотите задать.(Анимация должна быть применена перед задаванием прогресса)&lt;br /&gt;
*'''progress:''' прогресс анимации который вы хотите задать, значение от 0.0 до 1.0&lt;br /&gt;
&lt;br /&gt;
===Возвращаемое значение===&lt;br /&gt;
Возвращает ''true'' если прогресс установлен успешно, ''false'' в противном случае.&lt;br /&gt;
&lt;br /&gt;
==Example== &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;
Этот пример создаёт педа, применяет к немму анимацию, и замораживает анимацию &amp;quot;проигравшейся&amp;quot; лишь наполовину. &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function animRender( ped1 )&lt;br /&gt;
        setPedAnimationProgress(ped1, &amp;quot;M_SMKSTND_LOOP&amp;quot;, 0.5)&lt;br /&gt;
        setTimer ( animRender, 50, 1, ped1 )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function makePed()&lt;br /&gt;
    local ped1 = createPed(56, 1, 1, 4)&lt;br /&gt;
    setPedAnimation( ped1, &amp;quot;SMOKING&amp;quot;, &amp;quot;M_SMKSTND_LOOP&amp;quot;)&lt;br /&gt;
    setTimer ( animRender, 50, 1, ped1 )&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;
==See Also==&lt;br /&gt;
{{Ped_functions}}&lt;br /&gt;
[[en:setPedAnimationProgress]]&lt;/div&gt;</summary>
		<author><name>Grascm</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=RU/setPedAnimationProgress&amp;diff=26722</id>
		<title>RU/setPedAnimationProgress</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=RU/setPedAnimationProgress&amp;diff=26722"/>
		<updated>2011-08-15T12:38:10Z</updated>

		<summary type="html">&lt;p&gt;Grascm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
&lt;br /&gt;
Задаёт прогресс текущей анимации для педа или игрока.&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 setPedAnimationProgress ( ped thePed, string anim, float progress)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''thePed:''' игрок или пед для которого вы хотите задать прогресс анимации.&lt;br /&gt;
*'''anim:''' текущая анимация, прогресс которой вы хотите задать.(Анимация должна быть применена перед задаванием прогресса)&lt;br /&gt;
*'''progress:''' прогресс анимации который вы хотите задать, значение от 0.0 до 1.0&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Возвращает ''true'' если прогресс установлен успешно, ''false'' в противном случае.&lt;br /&gt;
&lt;br /&gt;
==Example== &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;
Этот пример создаёт педа, применяет к немму анимацию, и замораживает анимацию &amp;quot;проигравшейся&amp;quot; лишь наполовину. &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function animRender( ped1 )&lt;br /&gt;
        setPedAnimationProgress(ped1, &amp;quot;M_SMKSTND_LOOP&amp;quot;, 0.5)&lt;br /&gt;
        setTimer ( animRender, 50, 1, ped1 )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function makePed()&lt;br /&gt;
    local ped1 = createPed(56, 1, 1, 4)&lt;br /&gt;
    setPedAnimation( ped1, &amp;quot;SMOKING&amp;quot;, &amp;quot;M_SMKSTND_LOOP&amp;quot;)&lt;br /&gt;
    setTimer ( animRender, 50, 1, ped1 )&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;
==See Also==&lt;br /&gt;
{{Ped_functions}}&lt;br /&gt;
[[en:setPedAnimationProgress]]&lt;/div&gt;</summary>
		<author><name>Grascm</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetPedAnimationProgress&amp;diff=26721</id>
		<title>SetPedAnimationProgress</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetPedAnimationProgress&amp;diff=26721"/>
		<updated>2011-08-15T12:37:53Z</updated>

		<summary type="html">&lt;p&gt;Grascm: &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 animation progress of a player or ped.&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 setPedAnimationProgress ( ped thePed, string anim, float progress)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''thePed:''' the player or ped you want to change animation progress.&lt;br /&gt;
*'''anim:''' the animation name, currently applied to ped.&lt;br /&gt;
*'''progress:''' current animation progress you want to apply, value from 0.0 to 1.0.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if succesful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &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, aplly animation to it, and &amp;quot;freeze&amp;quot; the animation at half of overall animation time.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function animRender( ped1 )&lt;br /&gt;
        setPedAnimationProgress(ped1, &amp;quot;M_SMKSTND_LOOP&amp;quot;, 0.5)&lt;br /&gt;
        setTimer ( animRender, 50, 1, ped1 )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function makePed()&lt;br /&gt;
    local ped1 = createPed(56, 1, 1, 4)&lt;br /&gt;
    setPedAnimation( ped1, &amp;quot;SMOKING&amp;quot;, &amp;quot;M_SMKSTND_LOOP&amp;quot;)&lt;br /&gt;
    setTimer ( animRender, 50, 1, ped1 )&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;
==See Also==&lt;br /&gt;
{{Ped_functions}}&lt;br /&gt;
[[ru:setPedAnimationProgress]]&lt;/div&gt;</summary>
		<author><name>Grascm</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=RU/setPedAnimationProgress&amp;diff=26720</id>
		<title>RU/setPedAnimationProgress</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=RU/setPedAnimationProgress&amp;diff=26720"/>
		<updated>2011-08-15T12:36:57Z</updated>

		<summary type="html">&lt;p&gt;Grascm: Created page with &amp;quot;__NOTOC__ {{Server client function}}  Задаёт прогресс текущей анимации для педа или игрока.  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool setPedAnimat...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
&lt;br /&gt;
Задаёт прогресс текущей анимации для педа или игрока.&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 setPedAnimationProgress ( ped thePed, string anim, float progress)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''thePed:''' игрок или пед для которого вы хотите задать прогресс анимации.&lt;br /&gt;
*'''anim:''' текущая анимация, прогресс которой вы хотите задать.(Анимация должна быть применена перед задаванием прогресса)&lt;br /&gt;
*'''progress:''' прогресс анимации который вы хотите задать, значение от 0.0 до 1.0&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Возвращает ''true'' если прогресс установлен успешно, ''false'' в противном случае.&lt;br /&gt;
&lt;br /&gt;
==Example== &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;
Этот пример создаёт педа, применяет к немму анимацию, и замораживает анимацию &amp;quot;проигравшейся&amp;quot; лишь наполовину. &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function animRender( ped1 )&lt;br /&gt;
        setPedAnimationProgress(ped1, &amp;quot;M_SMKSTND_LOOP&amp;quot;, 0.5)&lt;br /&gt;
        setTimer ( animRender, 50, 1, ped1 )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function makePed()&lt;br /&gt;
    local ped1 = createPed(56, 1, 1, 4)&lt;br /&gt;
    setPedAnimation( ped1, &amp;quot;SMOKING&amp;quot;, &amp;quot;M_SMKSTND_LOOP&amp;quot;)&lt;br /&gt;
    setTimer ( animRender, 50, 1, ped1 )&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;
==See Also==&lt;br /&gt;
{{Ped_functions}}&lt;/div&gt;</summary>
		<author><name>Grascm</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetPedAnimationProgress&amp;diff=26719</id>
		<title>SetPedAnimationProgress</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetPedAnimationProgress&amp;diff=26719"/>
		<updated>2011-08-15T12:32:01Z</updated>

		<summary type="html">&lt;p&gt;Grascm: &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 animation progress of a player or ped.&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 setPedAnimationProgress ( ped thePed, string anim, float progress)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''thePed:''' the player or ped you want to change animation progress.&lt;br /&gt;
*'''anim:''' the animation name, currently applied to ped.&lt;br /&gt;
*'''progress:''' current animation progress you want to apply, value from 0.0 to 1.0.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if succesful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &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, aplly animation to it, and &amp;quot;freeze&amp;quot; the animation at half of overall animation time.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
Progress = 0.5&lt;br /&gt;
&lt;br /&gt;
function animRender( ped1 )&lt;br /&gt;
        setPedAnimationProgress(ped1, &amp;quot;M_SMKSTND_LOOP&amp;quot;, Progress)&lt;br /&gt;
        setTimer ( animRender, 50, 1, ped1 )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function makePed()&lt;br /&gt;
    local ped1 = createPed(56, 1, 1, 4)&lt;br /&gt;
    setPedAnimation( ped1, &amp;quot;SMOKING&amp;quot;, &amp;quot;M_SMKSTND_LOOP&amp;quot;)&lt;br /&gt;
    setTimer ( animRender, 50, 1, ped1 )&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;
==See Also==&lt;br /&gt;
{{Ped_functions}}&lt;br /&gt;
[[ru:setPedAnimationProgress]]&lt;/div&gt;</summary>
		<author><name>Grascm</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetPedAnimationProgress&amp;diff=26718</id>
		<title>SetPedAnimationProgress</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetPedAnimationProgress&amp;diff=26718"/>
		<updated>2011-08-15T12:31:23Z</updated>

		<summary type="html">&lt;p&gt;Grascm: &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 animation progress of a player or ped.&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 setPedAnimationProgress ( ped thePed, string anim, float progress)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''thePed:''' the player or ped you want to change animation progress.&lt;br /&gt;
*'''anim:''' the animation name, currently applied to ped.&lt;br /&gt;
*'''progress:''' current animation progress you want to apply, value from 0.0 to 1.0.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if succesful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &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, aplly animation to it, and &amp;quot;freeze&amp;quot; the animation at half of overall animation time.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
Progress = 0.5&lt;br /&gt;
&lt;br /&gt;
function animRender( ped1 )&lt;br /&gt;
        setPedAnimationProgress(ped1, &amp;quot;M_SMKSTND_LOOP&amp;quot;, Progress)&lt;br /&gt;
        setTimer ( animRender, 50, 1, ped1 )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function makePed()&lt;br /&gt;
    local ped1 = createPed(56, 1, 1, 4)&lt;br /&gt;
    setPedAnimation( ped1, &amp;quot;SMOKING&amp;quot;, &amp;quot;M_SMKSTND_LOOP&amp;quot;)&lt;br /&gt;
    setTimer ( animRender, 50, 1, ped1 )&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;
==See Also==&lt;br /&gt;
{{Ped_functions}}&lt;br /&gt;
[[ru:setPedAnimation]]&lt;/div&gt;</summary>
		<author><name>Grascm</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetPedAnimationProgress&amp;diff=26717</id>
		<title>SetPedAnimationProgress</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetPedAnimationProgress&amp;diff=26717"/>
		<updated>2011-08-15T12:29:57Z</updated>

		<summary type="html">&lt;p&gt;Grascm: &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 animation progress of a player or ped.&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 setPedAnimationProgress ( ped thePed, string anim, float progress)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''thePed:''' the player or ped you want to change animation progress.&lt;br /&gt;
*'''anim:''' the animation name, currently applied to ped.&lt;br /&gt;
*'''progress:''' current animation progress you want to apply, value from 0.0 to 1.0.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if succesful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &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, aplly animation to it, and &amp;quot;freeze&amp;quot; the animation at half of overall animation time.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
Progress = 0.5&lt;br /&gt;
&lt;br /&gt;
function animRender( ped1 )&lt;br /&gt;
        setPedAnimationProgress(ped1, &amp;quot;M_SMKSTND_LOOP&amp;quot;, Progress)&lt;br /&gt;
        setTimer ( animRender, 50, 1, ped1 )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function makePed()&lt;br /&gt;
    local ped1 = createPed(56, 1, 1, 4)&lt;br /&gt;
    setPedAnimation( ped1, &amp;quot;SMOKING&amp;quot;, &amp;quot;M_SMKSTND_LOOP&amp;quot;)&lt;br /&gt;
    setTimer ( animRender, 50, 1, ped1 )&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;
==See Also==&lt;br /&gt;
{{Ped_functions}}&lt;/div&gt;</summary>
		<author><name>Grascm</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetPedAnimationProgress&amp;diff=26716</id>
		<title>SetPedAnimationProgress</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetPedAnimationProgress&amp;diff=26716"/>
		<updated>2011-08-15T12:24:47Z</updated>

		<summary type="html">&lt;p&gt;Grascm: &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 animation progress of a player or ped.&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 setPedAnimationProgress ( ped thePed, string anim, float progress)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''thePed:''' the player or ped you want to change animation progress.&lt;br /&gt;
*'''anim:''' the animation name, currently applied to ped.&lt;br /&gt;
*'''progress:''' current animation progress you want to apply, value from 0.0 to 1.0.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if succesful, ''false'' otherwise.&lt;/div&gt;</summary>
		<author><name>Grascm</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetPedAnimationProgress&amp;diff=26715</id>
		<title>SetPedAnimationProgress</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetPedAnimationProgress&amp;diff=26715"/>
		<updated>2011-08-15T12:23:47Z</updated>

		<summary type="html">&lt;p&gt;Grascm: Created page with &amp;quot;==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool setPedAnimationProgress ( ped thePed, string anim, float progress) &amp;lt;/syntaxhighlight&amp;gt;  ===Required Arguments=== *'''thePed:''' the player or ped you want to chan...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setPedAnimationProgress ( ped thePed, string anim, float progress)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''thePed:''' the player or ped you want to change animation progress.&lt;br /&gt;
*'''anim:''' the animation name, currently applied to ped.&lt;br /&gt;
*'''progress:''' current animation progress you want to apply, value from 0.0 to 1.0.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if succesful, ''false'' otherwise.&lt;/div&gt;</summary>
		<author><name>Grascm</name></author>
	</entry>
</feed>