SA-MP Forums Archive
how to apply animations to all - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: how to apply animations to all (/showthread.php?tid=266798)



how to apply animations to all - Honest_Player - 06.07.2011

hello frnds!
I check on www.wiki.sa-mp.com for apply animation here i found this one....


PHP код:
ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1); 
and this for clearing......

PHP код:
       ClearAnimations(playerid); 
so please tell me how i can apply animation to all becasue of in my script when a team win i want win team dance....
so plz tell me code about
and the los team anim tooo like doszen

ApplyAnmationToAll(); not working!!!


me waiting


Re: how to apply animations to all - Honest_Player - 06.07.2011

please check the post sory for spam but i cant spam i need help plz


Re: how to apply animations to all - Honest_Player - 06.07.2011

what? plz tell me fully code what i add here .......

for(new i=0; i < MAX_PLAYERS; i++)
{
if(GetPlayerTeam(i) == TEAM_WINNER)
{ ....


Re: how to apply animations to all - King Ace - 06.07.2011

Wont be writing the script, but i will tell you, how it works.
If player is from the winning team, then apply animation.


Re: how to apply animations to all - Honest_Player - 06.07.2011

thanks i will try this and any one give me complete code its complete 5/10 plz 10/10 for wining team and for lose team plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz