29.03.2018, 19:25
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.
Nothing happens player doesn't move.
PHP код:
TogglePlayerSpectating(playerid, false);
SetPlayerPos(playerid, 4602.7427, 190.8927, 9.3325);
SetPlayerFacingAngle(playerid, 22.1796);
ApplyAnimation(playerid, "PED", "WALK_gang2", 4.0, 0, 1, 1, 0, 7, 1);
SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
SetHealth(playerid, 100);
PlayerInfo[playerid][pLevel]= 5;
ClearChatbox(playerid);