29.03.2018, 20:55
I manged to stream the objects but for some reason the animation doesn't work I really have no idea why
PHP код:
TogglePlayerSpectating(playerid, false);
SetPlayerPos(playerid, 4602.7427, 190.8927, 9.3325);
Player_StreamPrep(playerid, 4602.7427, 190.8927, 9.3325, FREEZE_TIME);
SetPlayerFacingAngle(playerid, 22.1796);
ApplyAnimation(playerid, "PED", "WALK_gang2", 4.0, 1, 1, 1, 1, 1, 1);
SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
SetHealth(playerid, 100);
PlayerInfo[playerid][pConnectHours] = 30;
ClearChatbox(playerid);