Player froze and wont do animation?
#1

pawn Код:
GameTextForPlayer(playerid, "~g~Police LS", 1000, 1);
SetPlayerPos(playerid, 1583.355469, -1633.027100, 13.950139);
SetPlayerCameraPos(playerid, 1583.355469, -1629.799927, 13.950139);
SetPlayerCameraLookAt(playerid, 1583.355469, -1633.027100, 13.950139);
ApplyAnimation(playerid,"DANCING","DANCE_LOOP",4.1,1,1,1,1,1);
SetPlayerFacingAngle(playerid, 0);
Ive never used Animations on player classes,
So i bet its obvious that im doing something wrong xd

Reply
#2

I don't think that animation will play while you're in air (like your character). And you should pre-load your animations before you use them - check Kye's animation filterscript to see what i mean (you can find it at the official sa:mp page at the download page -> server package).
Reply
#3

Are you using TogglePlayerControllable in your script to freeze the player just after connecting?

If your not you can try ApplyAnimation(playerid,"DANCING","DANCE_LOOP",4.1 ,1,1,1,0,0);
Reply
#4

Quote:
Originally Posted by Don Correlli
I don't think that animation will play while you're in air (like your character). And you should pre-load your animations before you use them - check Kye's animation filterscript to see what i mean (you can find it at the official sa:mp page at the download page -> server package).
Huh? I seen players dancing while selecting player class, How would i do that
Reply
#5

Quote:
Originally Posted by Torran
Quote:
Originally Posted by Don Correlli
I don't think that animation will play while you're in air (like your character). And you should pre-load your animations before you use them - check Kye's animation filterscript to see what i mean (you can find it at the official sa:mp page at the download page -> server package).
Huh? I seen players dancing while selecting player class, How would i do that
He says that you first have to insert the animation list. Just do what he says.
Reply
#6

I still no understand
Reply
#7

Quote:
Originally Posted by Torran
Quote:
Originally Posted by Don Correlli
I don't think that animation will play while you're in air (like your character). And you should pre-load your animations before you use them - check Kye's animation filterscript to see what i mean (you can find it at the official sa:mp page at the download page -> server package).
Huh? I seen players dancing while selecting player class, How would i do that
Indeed, but not if they're in air like your character.
Reply
#8

Well how to make him not in air,
I just use coords from AddPlayerClass
Reply
#9

Ok, I changed Z Coord, And hes on ground, But he still no dancing
Reply
#10

Quote:
Originally Posted by Don Correlli
And you should pre-load your animations before you use them - check Kye's animation filterscript to see what i mean (you can find it at the official sa:mp page at the download page -> server package).
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)