SA-MP Forums Archive
[Ajuda] Angulo nгo estб certo - 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] Angulo nгo estб certo (/showthread.php?tid=611140)



Angulo nгo estб certo - ZombieSmashYT - 02.07.2016

Olб, queria pedir a ajuda de vocкs novamente rsrs.

Minha duvida й a seguinte: Estou fazendo a tela de login do meu servidor, e queria mudar a imagem que aparece (a original й em Las Venturas), mas estou colocando a coordenada certa e nгo fica no angulo que eu queria!

Coordenada:

PHP код:
AddPlayerClass(0,1163.5817,-2036.6265,69.0078,90.8735,0,0,0,0,0,0); 
OnPlayerRequestClass:

PHP код:
    SetPlayerPos(playerid1202.4031,-2037.0819,69.0078);
    
SetPlayerCameraPos(playerid,1163.5817,-2036.6265,69.0078);
    
SetPlayerCameraLookAt(playerid1163.5817,-2036.6265,69.0078); 
Obrigado desde jб!


Re: Angulo nгo estб certo - ZombieSmashYT - 03.07.2016

Alguem pode ajudar?


Re: Angulo nгo estб certo - teteu99 - 03.07.2016

E ae cara,
Se eu nгo me engano use essa funзгo"SetPlayerAngle" que no caso ficara "SetPlayerAngle(19374.4(esses numero e apenas uma demostraзгo aonde vocК irar colocar o angulo.). ou SetPlayerAngle(playerid,19374.4)

ou

SetPlayerFacingAngle(playerid,0); E no local do 0 vocк substitui pelo angulo.

Nгo esto muito lembrado muito mais tenta ve se da.

SE AJUDEI +Rep =D

LEMBRANDO : UTILIZE O SEARCH PARA BUSCA DE SEUS CONHECIMENTOS!


Re: Angulo nгo estб certo - ZombieSmashYT - 03.07.2016

Quote:
Originally Posted by teteu99
Посмотреть сообщение
E ae cara,
Se eu nгo me engano use essa funзгo"SetPlayerAngle" que no caso ficara "SetPlayerAngle(19374.4(esses numero e apenas uma demostraзгo aonde vocК irar colocar o angulo.). ou SetPlayerAngle(playerid,19374.4)

ou

SetPlayerFacingAngle(playerid,0); E no local do 0 vocк substitui pelo angulo.

Nгo esto muito lembrado muito mais tenta ve se da.
Vou tentar

Quote:

SE AJUDEI +Rep =D

Pode deixar =D

Quote:

LEMBRANDO : UTILIZE O SEARCH PARA BUSCA DE SEUS CONHECIMENTOS!

Procurei, procurei, mas nгo achei nada sobre isto :/


Re: Angulo nгo estб certo - teteu99 - 03.07.2016

OBS:

Se vocк nгo souber aonde colocar essas funзгo = SetPlayerAngle ou SetPlayerFacingAngle , vocк coloca ela abaixo do codigo aonde vocк colocou as coordenada x,y,z.

Que no caso ficara assim.
Exemplo:

SetPlayerPos(playerid, x, y, z); // e logo abaixo a funзгo que te falei...
SetPlayerFacingAngle(playerid, aqui o angulo);

Sempre ficara abaixo da funзгo que seta a coordenada X,Y,Z.


Re: Angulo nгo estб certo - ZombieSmashYT - 03.07.2016

Responde MP


Re: Angulo nгo estб certo - teteu99 - 03.07.2016

Lhe respondi lб de uma conferida se chego ...