SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 18/09/2019, 04:07 PM   #1
l3eksz
Big Clucker
 
l3eksz's Avatar
 
Join Date: Nov 2018
Location: Rio de Janeiro - BR
Posts: 183
Reputation: 2
Default Actors nao aparecem

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);
__________________
--------- 𝑄𝑢𝑒 𝑎 𝑡𝑒𝑚𝑝𝑒𝑠𝑡𝑎𝑑𝑒 𝑛𝑜𝑠 𝑔𝑢𝑖𝑒 𝑒𝑚 𝑚𝑒𝑢 𝑑𝑒𝑠𝑝𝑒𝑟𝑡𝑎𝑟 ---------
l3eksz is online now   Reply With Quote
Old 18/09/2019, 04:18 PM   #2
Delete_
High-roller
 
Delete_'s Avatar
 
Join Date: Mar 2011
Location: Gurupi - TO
Posts: 1,746
Reputation: 110
Default Re: Actors nao aparecem

Colocou em OnGameModeInit?
__________________
Araguaia Roleplay
Delete_ is offline   Reply With Quote
Old 18/09/2019, 05:13 PM   #3
NWDMadara
Huge Clucker
 
NWDMadara's Avatar
 
Join Date: Mar 2018
Posts: 483
Reputation: 16
Default Re: Actors nao aparecem

Sete os atores no mesmo mundo do interior.

SetActorVirtualWorld
NWDMadara is offline   Reply With Quote
Old 19/09/2019, 12:51 AM   #4
l3eksz
Big Clucker
 
l3eksz's Avatar
 
Join Date: Nov 2018
Location: Rio de Janeiro - BR
Posts: 183
Reputation: 2
Default Re: Actors nao aparecem

Sim eles estao no OnGameModeInit.

Como vou pegar o vw do interior?
__________________
--------- 𝑄𝑢𝑒 𝑎 𝑡𝑒𝑚𝑝𝑒𝑠𝑡𝑎𝑑𝑒 𝑛𝑜𝑠 𝑔𝑢𝑖𝑒 𝑒𝑚 𝑚𝑒𝑢 𝑑𝑒𝑠𝑝𝑒𝑟𝑡𝑎𝑟 ---------
l3eksz is online now   Reply With Quote
Old 19/09/2019, 12:53 AM   #5
NWDMadara
Huge Clucker
 
NWDMadara's Avatar
 
Join Date: Mar 2018
Posts: 483
Reputation: 16
Default Re: Actors nao aparecem

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

GetPlayerVirtualWorld(playerid);
NWDMadara is offline   Reply With Quote
Old 19/09/2019, 01:25 AM   #6
l3eksz
Big Clucker
 
l3eksz's Avatar
 
Join Date: Nov 2018
Location: Rio de Janeiro - BR
Posts: 183
Reputation: 2
Default Re: Actors nao aparecem

Hm... e como eu poderia estar setando o vw dos actors para o mesmo do player?
__________________
--------- 𝑄𝑢𝑒 𝑎 𝑡𝑒𝑚𝑝𝑒𝑠𝑡𝑎𝑑𝑒 𝑛𝑜𝑠 𝑔𝑢𝑖𝑒 𝑒𝑚 𝑚𝑒𝑢 𝑑𝑒𝑠𝑝𝑒𝑟𝑡𝑎𝑟 ---------
l3eksz is online now   Reply With Quote
Old 19/09/2019, 01:48 AM   #7
zF3lKy3
Big Clucker
 
Join Date: Aug 2018
Location: Fortaleza - CE
Posts: 152
Reputation: 0
Default Re: Actors nao aparecem

VW = 0
__________________
Mata-Mata Guerra dos Mitos
IP: OFF!
zF3lKy3 is offline   Reply With Quote
Old 19/09/2019, 01:49 AM   #8
NWDMadara
Huge Clucker
 
NWDMadara's Avatar
 
Join Date: Mar 2018
Posts: 483
Reputation: 16
Default Re: Actors nao aparecem

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?
NWDMadara is offline   Reply With Quote
Old 19/09/2019, 02:05 AM   #9
COYTER
Little Clucker
 
COYTER's Avatar
 
Join Date: Aug 2019
Location: Chéquia
Posts: 13
Reputation: 0
Default Re: Actors nao aparecem

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!
COYTER is offline   Reply With Quote
Old 19/09/2019, 03:56 AM   #10
l3eksz
Big Clucker
 
l3eksz's Avatar
 
Join Date: Nov 2018
Location: Rio de Janeiro - BR
Posts: 183
Reputation: 2
Default Re: Actors nao aparecem

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
__________________
--------- 𝑄𝑢𝑒 𝑎 𝑡𝑒𝑚𝑝𝑒𝑠𝑡𝑎𝑑𝑒 𝑛𝑜𝑠 𝑔𝑢𝑖𝑒 𝑒𝑚 𝑚𝑒𝑢 𝑑𝑒𝑠𝑝𝑒𝑟𝑡𝑎𝑟 ---------
l3eksz is online now   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ajuda] textdraws não aparecem Luiiiz Português/Portuguese 1 16/03/2017 12:32 PM
[Ajuda] Dialogos não aparecem. ChrisRock Português/Portuguese 2 28/02/2014 05:56 PM
[Ajuda] Objetos não aparecem eNtinityGaming Português/Portuguese 10 26/01/2014 05:06 PM
[Ajuda] Objectos nao aparecem! Eonik Português/Portuguese 8 13/01/2014 11:55 PM
[Ajuda] Objetos não aparecem Jorge-IN Português/Portuguese 6 05/11/2013 08:49 PM


All times are GMT. The time now is 01:13 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.