SA-MP Forums Archive
Animations Problem - 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: Animations Problem (/showthread.php?tid=85948)



Animations Problem - Smokes - 10.07.2009

i added some new anims, one of them being the Gwalk one and i put it on loop so it would keep on doing the Gwalk buh theres one problem when i do /gwalk, the player gwalks in one direction and i cannot change the direction when he Gwalks he will just walk straight...how can i change this so wen the player Gwalks, you can change the direction he is going while he is Gwalking...then i can apply this to the other anims that dont change direction aswell


Re: Animations Problem - saiberfun - 10.07.2009

well id say sumthin like a SEtPlayerAngle on OnPlayerKeystatechange
n then the newkey is left arrow rightarrow n shit
but would be very advanced tho


Re: Animations Problem - Smokes - 11.07.2009

but i see it on other servers and i wanna do like when i make my player do Gangsigns he has to stand in one place, he cant move...so were can i find out how to script this


Re: Animations Problem - saiberfun - 11.07.2009

hmm id say search on the samp wiki for onplayerkeystatechange
maybe it will help u
but i can't tell u how to do it exactly its very advanced n should be kinda difficult