11.07.2015, 13:58
Quote:
he actors are rendered before the interior is rendered and thus the actors fall down. /
|
pawn Код:
public OnActorStreamIn(actorid, forplayerid)
{
new Float:pos[3];
GetActorPos(actorid,pos[0],pos[1],pos[2]);
if(floatcmp(pos[0],actorpos[0]) || floatcmp(pos[1],actorpos[1]) || floatcmp(pos[2],actorpos[2]))
{
SetActorPos(actorid,actorpos[0],actorpos[1],actorpos[2]);
SetActorFacingAngle(actorid,actorpos[3]);
}
return 1;
}