SA-MP Forums Archive
How to auto aply nightview or IR view? - 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: How to auto aply nightview or IR view? (/showthread.php?tid=169130)



How to auto aply nightview or IR view? - DaneAMattie - 18.08.2010

Can you just auto apply a IR view or Nightview by command or so?


Re: How to auto aply nightview or IR view? - Vince - 18.08.2010

No. And please stick with one topic about the NV goggles.


Re: How to auto aply nightview or IR view? - DaneAMattie - 18.08.2010

Quote:
Originally Posted by Vince
Посмотреть сообщение
No. And please stick with one topic about the NV goggles.
lol sorry but this is another topic :P, but so its impossible to do this?


Re: How to auto aply nightview or IR view? - RealWorldGTA - 18.08.2010

you can apply an 'emulated' IR view using a single textdraw..

Its much like the concept of using a blindfold system, with the exception of using a green color, with a lower opacity set.

If you want to force the night vision goggles to use this fucntion, simply return 0; on keypress fire if the player has the weapon, then apply the screen textdraw... this would make the function commandless...

if you still want a command, simply replicate the blindfold command but instead using the green textdraw.


Re: How to auto aply nightview or IR view? - DaneAMattie - 18.08.2010

Quote:
Originally Posted by RealWorldGTA
Посмотреть сообщение
you can apply an 'emulated' IR view using a single textdraw..

Its much like the concept of using a blindfold system, with the exception of using a green color, with a lower opacity set.

If you want to force the night vision goggles to use this fucntion, simply return 0; on keypress fire if the player has the weapon, then apply the screen textdraw... this would make the function commandless...

if you still want a command, simply replicate the blindfold command but instead using the green textdraw.
hmm yea but i think that draw cant make an IR? cuz it will light up the players red and the map blue, and uhm that other code isnt what im searchign for, thanks though. i may have an idea but im kinda stuck, what if i just give him 1 IR goggle, then its automaticly selected in his hands, now i need a function or so that automaticly press the KEY_FIRE, so actialy auto shoot or so. but idk how :/


Re: How to auto aply nightview or IR view? - RealWorldGTA - 18.08.2010

i just told you how, its up to you to build it yourself... and if you dont believe that it can be done, you should go to the servers that are doing it, and tell them, that what they are currently doing isnt possible, and remove it from their script, cause again, YOU feel like its not possible!


Re: How to auto aply nightview or IR view? - DaneAMattie - 18.08.2010

Quote:
Originally Posted by RealWorldGTA
Посмотреть сообщение
i just told you how, its up to you to build it yourself... and if you dont believe that it can be done, you should go to the servers that are doing it, and tell them, that what they are currently doing isnt possible, and remove it from their script, cause again, YOU feel like its not possible!
oke chill man, go play real world GTA or so


Re: How to auto aply nightview or IR view? - gamer931215 - 19.08.2010

Quote:
Originally Posted by DaneAMattie
Посмотреть сообщение
oke chill man, go play real world GTA or so
*Walks outside and jacks a police car*


Re: How to auto aply nightview or IR view? - DaneAMattie - 20.08.2010

Quote:
Originally Posted by gamer931215
Посмотреть сообщение
*Walks outside and jacks a police car*
*Running to ammunition and buying a minigun*