Actor Sync Bug
#7

Quote:
Originally Posted by ikey07
View Post
its because anim needs to pre-load, the first actor you spawn, it pre-loads the anim, and each next one will get that anim at first, as its already preloaded.

just preload the anim before the use, just like you do with a player anims.
Didn't work. It's apparently a sync issue.

@Crayder: I'll try it now.
EDIT: I've tried to kill the spawned actor and I couldn't do any damage to it.
pawn Code:
CMD:actor(playerid)
{
    new Float:pos[3];
    GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
    new actor = CreateActor(15, pos[0] + 1, pos[1] + 1, pos[2], 0.0);
    SetActorVirtualWorld(actor, 0);
    SetActorInvulnerable(actor, 0);
   
    SetActorHealth(actor, 10.0);
    GivePlayerWeapon(playerid, WEAPON_M4, 500);
    return 1;
}
I hope this few bugs with actors will be fixed soon.
Reply


Messages In This Thread
Actor Sync Bug - by dominik523 - 01.05.2015, 19:49
Respuesta: Actor Sync Bug - by Malganys - 01.05.2015, 20:35
Re: Actor Sync Bug - by Crayder - 01.05.2015, 21:49
Re: Actor Sync Bug - by IstuntmanI - 01.05.2015, 22:22
Re: Actor Sync Bug - by ikey07 - 01.05.2015, 22:40
Re: Actor Sync Bug - by Crayder - 01.05.2015, 23:06
Re: Actor Sync Bug - by dominik523 - 02.05.2015, 08:28
Re: Actor Sync Bug - by Crayder - 02.05.2015, 17:29
Re: Actor Sync Bug - by dominik523 - 03.05.2015, 08:19
Re: Actor Sync Bug - by Crayder - 03.05.2015, 17:51

Forum Jump:


Users browsing this thread: 1 Guest(s)