SA-MP Forums Archive
[Ajuda] Actors nao aparecem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Actors nao aparecem (/showthread.php?tid=669434)



Actors nao aparecem - l3eksz - 18.09.2019

Seguinte, criei uns actors dentro do Caligulas Cassino para interagirem com os Players, mas acontece que os actors nao aparecem : \

Code:
pawn Code:
actors[9] = CreateActor(12,2231.6028,1618.0658,1006.1791,18.3234);
    ApplyActorAnimation(actors[9], "GANGS", "INVITE_YES", 4.1, 1, 0, 0, 0, 0);
    actors[10] = CreateActor(59,2229.3723,1616.0963,1006.1805,187.9612);
    ApplyActorAnimation(actors[10], "GANGS", "PRTIAL_GNGTLKD", 4.1, 1, 0, 0, 0, 0);
    actors[11] = CreateActor(31,2242.8918,1616.1840,1006.1805,162.4346);
    ApplyActorAnimation(actors[11], "PED", "IDLE_TAXI", 4.1, 1, 0, 0, 0, 0);
    actors[12] = CreateActor(40,2239.4285,1617.7513,1006.1793,330.9861);
    ApplyActorAnimation(actors[12], "GANGS", "PRTIAL_GNGTLKD", 4.1, 1, 0, 0, 0, 0);
    actors[13] = CreateActor(46,2231.8457,1590.9221,1006.1826,167.6938);
    ApplyActorAnimation(actors[13], "ON_LOOKERS", "SHOUT_01", 4.1, 1, 0, 0, 0, 0);
    actors[14] = CreateActor(55,2227.9038,1590.9752,1006.1826,217.1174);
    ApplyActorAnimation(actors[14], "GANGS", "INVITE_YES", 4.1, 1, 0, 0, 0, 0);
    actors[15] = CreateActor(84,2240.9729,1590.9722,1006.1826,213.5871);
    ApplyActorAnimation(actors[15], "GANGS", "PRTIAL_GNGTLKD", 4.1, 1, 0, 0, 0, 0);
    actors[16] = CreateActor(91,2268.2742,1606.6521,1006.1797,268.3556);
    ApplyActorAnimation(actors[16], "ON_LOOKERS", "SHOUT_01", 4.1, 1, 0, 0, 0, 0);
    actors[17] = CreateActor(98,2196.3374,1601.1127,1005.0690,214.2294);
    ApplyActorAnimation(actors[17], "ON_LOOKERS", "WAVE_LOOP", 4.1, 1, 0, 0, 0, 0);
    actors[18] = CreateActor(147,2197.8225,1599.8928,1005.0625,53.0962);
    ApplyActorAnimation(actors[18], "ON_LOOKERS", "WAVE_LOOP", 4.1, 1, 0, 0, 0, 0);
    actors[19] = CreateActor(169,2262.4980,1586.4938,1006.1797,155.6590);
    ApplyActorAnimation(actors[19], "ON_LOOKERS", "SHOUT_01", 4.1, 1, 0, 0, 0, 0);
    actors[20] = CreateActor(170,2250.1536,1586.4453,1006.1860,230.3376);
    ApplyActorAnimation(actors[20], "PED", "IDLE_TAXI", 4.1, 1, 0, 0, 0, 0);



Re: Actors nao aparecem - Delete_ - 18.09.2019

Colocou em OnGameModeInit?


Re: Actors nao aparecem - NWDMadara - 18.09.2019

Sete os atores no mesmo mundo do interior.

SetActorVirtualWorld


Re: Actors nao aparecem - l3eksz - 18.09.2019

Sim eles estao no OnGameModeInit.

Como vou pegar o vw do interior?


Re: Actors nao aparecem - NWDMadara - 18.09.2019

O virtual word do interior serб igual ao do jogador, a menos que vocк esteja utilizando o SetPlayerVirtualWorld junto com o SetPlayerInterior.

GetPlayerVirtualWorld(playerid);


Re: Actors nao aparecem - l3eksz - 19.09.2019

Hm... e como eu poderia estar setando o vw dos actors para o mesmo do player?


Re: Actors nao aparecem - zF3lKy3 - 19.09.2019

VW = 0


Re: Actors nao aparecem - NWDMadara - 19.09.2019

Entгo... Cada jogador terб um, entгo й melhor vocк mudar na hora de entrar na hora do interior e na hora de sair.

Isso que eu quero saber: Vocк estб usando o SetPlayerVirtualWorld na hora de setar o jogador no interior?


Re: Actors nao aparecem - COYTER - 19.09.2019

I havк the solution for that! Yeah .. I could even help you right now. But you are very ungrateful, I love helping people, I really don't care! But you don't seem to like my presence here on this board pt-br so, good luck. And I love Brazil!


Re: Actors nao aparecem - l3eksz - 19.09.2019

Quote:
Originally Posted by COYTER
View Post
I havк the solution for that! Yeah .. I could even help you right now. But you are very ungrateful, I love helping people, I really don't care! But you don't seem to like my presence here on this board pt-br so, good luck. And I love Brazil!
LOOOOOOOOOOOOOOOOL