SA-MP Forums Archive
UsePlayerPedAnims(); and MySQL help please - 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: UsePlayerPedAnims(); and MySQL help please (/showthread.php?tid=650107)



UsePlayerPedAnims(); and MySQL help please - insus100 - 20.02.2018

Hello everybody, thanks for checking the thread.
I'm migrating my GameMode to MySQL, and everything is going fine except that for some reason, UsePlayerPedAnims(); (cj running animation) is getting called somehow, although I haven't it anywhere on the script and I'm not using any FS. Before migrating to MySQL, the running animation was fine, the default one (used in most RP servers)
Any ideas?
Thank youu!!


Re: UsePlayerPedAnims(); and MySQL help please - AstroPoid - 20.02.2018

You shouldn't remove it (( UsePlayerPedAnims(); ))
it suppose to be in your gamemode


Re: UsePlayerPedAnims(); and MySQL help please - insus100 - 21.02.2018

Why? I dont want cj running anims


Re: UsePlayerPedAnims(); and MySQL help please - AlexMSK - 21.02.2018

Under
PHP код:
 public OnGameModeInit() 
remove
PHP код:
UsePlayerPedAnims(); 
And the CJ run will be gone.


Re: UsePlayerPedAnims(); and MySQL help please - insus100 - 21.02.2018

Yeah the problem is that UsePlayerPedAnims(); isn't anywhere on the gamemode, not even OnGameModeInit. Before migrating to MySQL this disnt happen. I helped with this tutorial: https://sampforum.blast.hk/showthread.php?tid=627520


Re: UsePlayerPedAnims(); and MySQL help please - AlexMSK - 21.02.2018

Weird, maybe it's used in any filterscript/include, try searching on them


Re: UsePlayerPedAnims(); and MySQL help please - insus100 - 21.02.2018

As I stated on my first post, Im not using any Filterscripts, and I cant seem to find it on the MySQL include.


Re: UsePlayerPedAnims(); and MySQL help please - PepsiCola23 - 21.02.2018

what includes do you currently use?


Re: UsePlayerPedAnims(); and MySQL help please - AstroPoid - 21.02.2018

Dude , if you want the normal run of cj ,this code suppose to be under your OnGameModeInit()
else he will run with anims
UsePlayerPedAnims()


Re: UsePlayerPedAnims(); and MySQL help please - insus100 - 21.02.2018

Quote:
Originally Posted by PepsiCola23
Посмотреть сообщение
what includes do you currently use?
a_samp, a_mysql, foreach, zcmd, sscanf, (dini2 before)
Never had this issue, just after including a_mysql.