Animation doesn't work on spawn
#1

Hello, I try to let the player move with a animation for 7 seconds on register spawn here is the code:

Nothing happens player doesn't move.

PHP код:
TogglePlayerSpectating(playeridfalse);
            
SetPlayerPos(playerid4602.7427190.89279.3325);
            
SetPlayerFacingAngle(playerid22.1796);
            
ApplyAnimation(playerid"PED""WALK_gang2"4.0011071);
            
SetPlayerSkin(playeridPlayerInfo[playerid][pModel]);
            
SetPlayerInterior(playerid0);
            
SetPlayerVirtualWorld(playerid0);
            
SetHealth(playerid100);
            
PlayerInfo[playerid][pLevel]= 5;
            
ClearChatbox(playerid); 
Reply


Messages In This Thread
Animation doesn't work on spawn - by IndependentGaming - 29.03.2018, 19:25
Re: Animation doesn't work on spawn - by IndependentGaming - 29.03.2018, 20:12
Re: Animation doesn't work on spawn - by IndependentGaming - 29.03.2018, 20:55
Re: Animation doesn't work on spawn - by YenTy - 29.03.2018, 21:02
Re: Animation doesn't work on spawn - by IndependentGaming - 29.03.2018, 21:05
Re: Animation doesn't work on spawn - by YenTy - 29.03.2018, 21:07
Re: Animation doesn't work on spawn - by IndependentGaming - 29.03.2018, 21:10
Re: Animation doesn't work on spawn - by YenTy - 29.03.2018, 21:20
Re: Animation doesn't work on spawn - by UFF - 30.03.2018, 06:06

Forum Jump:


Users browsing this thread: 2 Guest(s)