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.