SA-MP Forums Archive
fast help | - 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: fast help | (/showthread.php?tid=203417)



fast help | - Mr.Jvxmc - 26.12.2010

Hey

how i can do this like if player join the server,
then if he select a skin then skin waves.

pawn Код:
ApplyAnimation(playerid,"ON_LOOKERS","wave_loop",4.0,1,0,0,0,0);
do i need add this do

pawn Код:
public OnPlayerRequestClass(playerid, classid)



Re: fast help | - WillyP - 26.12.2010

Yes.


Re: fast help | - admantis - 26.12.2010

Yes, add that under OnPlayerRequestClass


Re: fast help | - Mr.Jvxmc - 26.12.2010

Ok i added, but it don't waves.
why?


Re: fast help | - WillyP - 26.12.2010

Click left&right, to change skins, then it should work


Re: fast help | - admantis - 26.12.2010

Quote:
Originally Posted by Mr.Jvxmc
Посмотреть сообщение
Ok i added, but it don't waves.
why?
Either the animation is wrong,.. but remember that animation to apply you will need to change class, it won't wave in the first default class.


Re: fast help | - Mr.Jvxmc - 26.12.2010

thanks