SA-MP Forums Archive
Animations During Class Selection. - 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)
+--- Thread: Animations During Class Selection. (/showthread.php?tid=564548)



Animations During Class Selection. - Ritzy2K - 22.02.2015

Anyone Knows How To Add Different Animations In Class Selection? like i got over 200 skins...and i need to add like classwise like medics cops civilians etc. so how do i add it? i searched for it and didnt got much help..


Re: Animations During Class Selection. - Gammix - 22.02.2015

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
      switch(classid)
      {
             case 0: ApplyAnimation(playerid, "PED", "WALK_DRUNK", 4.1, 1, 1, 1, 1, 1, 1);
             //and so on
       }
       return 1;
}
You should have searched or try to read wiki! But this is help section so i cant refuse!!
https://sampwiki.blast.hk/wiki/ApplyAnimation