Actors not visible - 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: Actors not visible (
/showthread.php?tid=650972)
Actors not visible -
m4karow - 10.03.2018
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...
Re: Actors not visible -
Maximun - 10.03.2018
You probably made a mistake on your code, we never know.
At least, shoot us a line of your code
Re: Actors not visible -
m4karow - 10.03.2018
Код:
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;
}
Re: Actors not visible -
Maximun - 10.03.2018
Have you ever tried with a default interior? However, try with 'printf' to make sure that's working.