UsePlayerPedAnims(); and MySQL help please
#1

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!!
Reply
#2

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

Why? I dont want cj running anims
Reply
#4

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

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
Reply
#6

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

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

what includes do you currently use?
Reply
#9

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

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.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)