Actor help
#1

Everthing thing works fine, but the problem is the virtualworld the actor only works on vw 0 i want it works for all worlds, maybe u guys can help me out, thanks advance!


PHP Code:
    for(new 0sizeof(AllActors); c++)
     {
          
CreateActor(AllActors[c][askinid], AllActors[c][npcX], AllActors[c][npcY], AllActors[c][npcZ], AllActors[c][npcA]);
        
ApplyActorAnimation(cAllActors[c][animclass], AllActors[c][animname], 4.110000);
        
SetPlayerVirtualWorld(c, -1);
        
SetActorInvulnerable(c);
    } 
Reply
#2

You need use a SetActorVirtualWorld, no SetPlayerVirtualWorld
Reply
#3

Quote:
Originally Posted by povargek
View Post
You need use a SetActorVirtualWorld, no SetPlayerVirtualWorld
Ohh now i feel so stupid lol, thank you alot
Reply
#4

Quote:
Originally Posted by N0FeaR
View Post
Ohh now i feel so stupid lol, thank you alot
And you can't spawn actor in all virtual world's. In the SAMP is not an option.
Reply
#5

Quote:
Originally Posted by povargek
View Post
And you can't spawn actor in all virtual world's. In the SAMP is not an option.
OK i see.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)