SA-MP Forums Archive
[Ajuda] SetPlayerAttachedObject - 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] SetPlayerAttachedObject (/showthread.php?tid=606550)



SetPlayerAttachedObject - MineiriinHo - 05.05.2016

Bom, meu AttachObjectToPlayer estб bugando..

Eu criei um AttachObjectToPlayer, e ficou certinho, quando eu editei.. Sу que, no servidor, fui testar, e a caixinha de primeiros socorros, nгo ficou nas mгos do jogador, e sim, grudada em sua perna..

Atй aн tudo bem, pesquisei como deixar ele na mгo do jogador, e achei o SetPlayerAttachedObject..

Sу que, quando eu coloquei no GM, fui testar, a caixinha, ficou na cabeзa do jogador, sendo que no script abaixo, estб definido para ficar na mгo dele...

PHP код:
SetPlayerAttachedObject(playerid3,117385, -0.608000330.03500001, -0.27399998, -0.0999999988.29998016, -88.699958801.000000001.000000001.00000000); 



Re: SetPlayerAttachedObject - Danzou - 06.05.2016


PHP код:
SetPlayerAttachedObject(playerid3,117381, -0.608000330.03500001, -0.27399998, -0.0999999988.29998016, -88.699958801.00000001.00000001.0000000);