Instead Run Cj Fast i go like old man
#1

Sup!
So i set cj run for one variable or how ever i should call it, bat the most important part that if i pressing space to run fast i start run like old man idk how that animation appears if i dont even set it.

Ongamemodeinit
Код:
    foreach(new i : Player)
    {
	if(teams[i] == TEAM_BLUE)
	{
	if(pInfo[i][pBlueClass] == RUNNER)
	{
	UsePlayerPedAnims();
    }
    }
    }
Reply
#2

P.S If i hold space everything ok, bat if i start pressing space old man animation appear.
Reply
#3

Lol i have test if cj skin run fast without UsePlayerPedAnims so i delete it and try to test bat that animation appear again so i test with other skin and everything work fine, so wtf?
Reply
#4

UsePlayerPedAnims can only be used in OnGameModeInit().
Reply
#5

Quote:
Originally Posted by 4D1L
Посмотреть сообщение
UsePlayerPedAnims can only be used in OnGameModeInit().
Dude i said "i use it ongamemodeinit"
Reply
#6

I have tested with other skin and use same system so i realize this code will not work so my other question is why Cj skin id "0" when i pressing space get animation of slow walk? How need fix it?
Reply
#7

Oh come on... Pay attention...

It can only be used in OnGamemodeInit, yet you OBVIOUSLY are trying to use it in a for loop, which isn't under OnGamemodeInit.

You cannot do this... It's either on or off... There is no toggling it, and it's a server setting, not a per-player option.


CJs run, is hardcoded to CJ, that's why many servers with this on restrict and remove the CJ skin.
Reply
#8

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
Oh come on... Pay attention...

It can only be used in OnGamemodeInit, yet you OBVIOUSLY are trying to use it in a for loop, which isn't under OnGamemodeInit.

You cannot do this... It's either on or off... There is no toggling it, and it's a server setting, not a per-player option.


CJs run, is hardcoded to CJ, that's why many servers with this on restrict and remove the CJ skin.
So you want to say i cant intend to use for any variable or something like this?
Reply
#9

UsePlayerPedAnims(); has no params for one player

but you can use this https://sampforum.blast.hk/showthread.php?tid=382564
Reply
#10

Quote:
Originally Posted by TitanX
Посмотреть сообщение
UsePlayerPedAnims(); has no params for one player

but you can use this https://sampforum.blast.hk/showthread.php?tid=382564
Is there any fast run animation?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)