SA-MP Forums Archive
Making Actor visible in several different worlds? - 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: Making Actor visible in several different worlds? (/showthread.php?tid=611135)



Making Actor visible in several different worlds? - ax1 - 02.07.2016

Is there a way to make actor visible for players in several different worlds? I know that I can create actor for each world but that isnt a solution for me, since i already have way to many actors.


Re: Making Actor visible in several different worlds? - OmegaKiller72 - 02.07.2016

try -1


Re: Making Actor visible in several different worlds? - [cS]Owain - 02.07.2016

I think so putting virtual world as -1 sets things for all virtual world, try it.
EDIT: too late, some one already posted ^


Re: Making Actor visible in several different worlds? - ax1 - 02.07.2016

doesnt work


Re: Making Actor visible in several different worlds? - OmegaKiller72 - 02.07.2016

SetActorVirtualWorld(actorid, -1);


Re: Making Actor visible in several different worlds? - d1git - 02.07.2016

An actor (same goes for players) can only be put into one virtual world at a time (else -1).


Re: Making Actor visible in several different worlds? - ax1 - 03.07.2016

so as far as i understand i can't thanks anyway