Actor with Incognito Streamer
#1

Hello dudes,
I've made a script to load actors and it works fine utill I have to place them into a mapped interior, as I undestood the streamer plugin do not load objects for actors so they fall down.
Someone knows how it could be fixed? (if it's possible)
Reply
#2

Simple. Make a timer that will check if anyone is near the actor and if they are just re-set actors position.

pawn Код:
new Float:x,Float:y,Float:z;
GetActorPos(your actor name, x,y,z);
if(IsPlayerInRangeOfPoint(playerid,20.0,x,y,z))
{
    SetActorPos(actorid,your positions here);
}
return true;
And lets say that when someone comes near it, kill the timer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)