Actors not visible
#1

Hey

I'm using streamer for actors.
I created some actor in the gym interior with worldid -1, so this means they should be visible in all virtual worlds, in interior 6 (for example) right? But they don't...
Reply
#2

You probably made a mistake on your code, we never know.
At least, shoot us a line of your code
Reply
#3

Код:
static AddDynamicActor(skinid, Float:X, Float:Y, Float:Z, Float:R, worldid, interiorid, godmode = 1, Float:health = 100.0)
{
	new actorid = CreateDynamicActor(skinid, X, Y, Z, R, godmode, health, worldid, interiorid, -1);
	ActorWorld[actorid] = worldid;
	Iter_Add(Actors, actorid);
	return actorid;
}
	
public OnScriptInit()
{
	AddDynamicActor(80, 761.440002, 0.958596, 1001.594238, 135.559936, -1, 5);
	return 1;
}
Reply
#4

Have you ever tried with a default interior? However, try with 'printf' to make sure that's working.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)