SA-MP Forums Archive
Actor in 0,0,0 ?... - 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: Actor in 0,0,0 ?... (/showthread.php?tid=580153)



Actor in 0,0,0 ?... - Metharon - 02.07.2015



All my actors are positioned in businesses interiors with virtual world...


But i found a actor in a business at 0,0,0 with virtual world 0 ...

How is this posible?


Re: Actor in 0,0,0 ?... - Lynn - 02.07.2015

This is caused by a coding issue, same reason some icons, etc. get placed at 0.0.0
Somewhere you placed one of your actors wrong.


Re: Actor in 0,0,0 ?... - Metharon - 03.07.2015

It seems that they are falling down ... the problem:

On my loading bizz i have this:

pawn Code:
if(BizzInfo[IDB][bType] == 1)
        {
            if(BizzInfo[IDB][bInterior] == 10)
            {
                BizzInfo[IDB][bActor] = CreateActor(211, 1.9300,-30.7030,1003.5494,3.0158);
                SetActorVirtualWorld(BizzInfo[IDB][bActor], BizzInfo[IDB][bVirtual]);
            }
}
How is this possible , i already gave them skins