Goggles animation? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Goggles animation? (
/showthread.php?tid=169131)
Goggles animation? -
DaneAMattie - 18.08.2010
Hi, is there any animation or function to place NV or IR goggles on some player's head without having him to use the 'weapon'
Re: Goggles animation? -
DaneAMattie - 18.08.2010
anyone please?
Re: Goggles animation? -
llama - 18.08.2010
Could try SetPlayerHoldingObject, (0.3b function) or AttachObjectToPlayer.
Re: Goggles animation? -
[HUN]Jaki - 18.08.2010
No way. NV and IR goggles are bugged.
Re: Goggles animation? -
Cedimedi - 18.08.2010
Quote:
Originally Posted by [HUN]Jaki
No way. NV and IR goggles are bugged.
|
That doesn't mean you can't use it as object.
Maybe theres a object id, then you could put it on the head.
Re: Goggles animation? -
DaneAMattie - 18.08.2010
Quote:
Originally Posted by Cedimedi
That doesn't mean you can't use it as object.
Maybe theres a object id, then you could put it on the head.
|
yes indeed and thats the only thing i need, cuz i already have a fix for the bug.
Re: Goggles animation? -
Sergei - 18.08.2010
https://sampwiki.blast.hk/wiki/Weapons
368 and 369 are object models.
Re: Goggles animation? -
DaneAMattie - 18.08.2010
Quote:
Originally Posted by Sergei
|
yes but cant i just use it using attach object to player? (however when i do that its not moving with the head, if the head rotates)
Re: Goggles animation? -
MJ! - 18.08.2010
then you must use SetPlayerHoldingObject
Re: Goggles animation? -
DaneAMattie - 18.08.2010
Quote:
Originally Posted by MJ!
then you must use SetPlayerHoldingObject
|
cool, ill try that , thanks