SA-MP Forums Archive
Need Help Regarding Flashlight [+rep] - 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)
+--- Thread: Need Help Regarding Flashlight [+rep] (/showthread.php?tid=308882)



Need Help Regarding Flashlight [+rep] - Aira - 05.01.2012

Alright, I saw on another Server a "Flashlight" attached to the Gun. I know the Flashlight's ID but in that Server, it actually had a Light (Didn't look good Though) but it was Good. Anybody know how to script it? Or is there "another" Object attached?


Re: Need Help Regarding Flashlight [+rep] - Aira - 05.01.2012

Its almost to the Bottom!
Bump! Help Please


Re: Need Help Regarding Flashlight [+rep] - Basssiiie - 05.01.2012

It's probably one of the new 0.3d objects, although it would be useful if you could provide a screenshot. If you're searching for an actual light, it might be one of the objects between 19281 and 19298. If you're searching for just a flashlight object, it might be 18641. You can find more information here.


Re: Need Help Regarding Flashlight [+rep] - Aira - 08.01.2012

Screenshots





Re: Need Help Regarding Flashlight [+rep] - Rob_Maate - 08.01.2012

It's two separate objects. One is the white light and the other is the flashlight handpiece. Honestly though, It looks horrible and it isn't transparent + it doesn't light anything up. I wouldn't use it personally, I prefer the laser pointer.


Re: Need Help Regarding Flashlight [+rep] - Aira - 28.01.2012

Quote:
Originally Posted by Rob_Maate
Посмотреть сообщение
It's two separate objects. One is the white light and the other is the flashlight handpiece. Honestly though, It looks horrible and it isn't transparent + it doesn't light anything up. I wouldn't use it personally, I prefer the laser pointer.
I Understand, and you made me say forget it, it dosen't look nice :P. Anyway, whats THE large Light object (Like the one in Police Mav) - The Light itself, i saw it in another FS that connects lights to helicopters.


Re: Need Help Regarding Flashlight [+rep] - jamesbond007 - 28.01.2012

Quote:
Originally Posted by [RaZ]Hal_Moore
Посмотреть сообщение
Screenshots


how the hell did they hide the health bar?


Re: Need Help Regarding Flashlight [+rep] - MP2 - 28.01.2012

18656 is the ID for the white light beam. It's a crap object though if you ask me.


Re: Need Help Regarding Flashlight [+rep] - Aira - 28.01.2012

Quote:
Originally Posted by jamesbond007
Посмотреть сообщение
how the hell did they hide the health bar?
I got GTA IV hud Mod, its not from the server


Re: Need Help Regarding Flashlight [+rep] - KingHual - 28.01.2012

Код:
SetPlayerAttachedObject(playerid, 18656, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0);
or something like that.

https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject