Actor still falling true custom object - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Actor still falling true custom object (
/showthread.php?tid=651186)
Actor still falling true custom object -
IndependentGaming - 15.03.2018
Hello, I have been trying to let the actors stream in because they keep falling true custom objects I put this
Код:
new ActorDJ1, ActorDJ2;
if(IsActorStreamedIn(ActorDJ1,ActorDJ2))
{
CreateActor(299, 346.0761, -1845.4706, 7.7953, 85.1415);
ApplyActorAnimation(ActorDJ1, "SCRATCHING", "scdldlp", 4.0, 1, 0, 0, 0, 0); // /dj 1
CreateActor(45, 346.0746, -1844.1603, 7.7953, 85.8244);
ApplyActorAnimation(ActorDJ2, "SCRATCHING", "scdrulp", 4.0, 1, 0, 0, 0, 0); // /dj 4
}
under public OnPlayerSpawn(playerid)
but they still fall true custom objects..
Re: Actor still falling true custom object -
David (Sabljak) - 15.03.2018
Try to make that ground object static like CreateObject, without using streamer...