[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(playerid, 3,11738, 5, -0.60800033, 0.03500001, -0.27399998, -0.09999999, 88.29998016, -88.69995880, 1.00000000, 1.00000000, 1.00000000);
Re: SetPlayerAttachedObject -
Danzou - 06.05.2016
PHP код:
SetPlayerAttachedObject(playerid, 3,11738, 1, -0.60800033, 0.03500001, -0.27399998, -0.09999999, 88.29998016, -88.69995880, 1.0000000, 1.0000000, 1.0000000);