night vision - 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: night vision (
/showthread.php?tid=595464)
night vision -
GeneralAref - 03.12.2015
how to on night vision with command?
Re: night vision -
Denying - 03.12.2015
Make a command which gives the player the night vision goggles. But that is bugged.. every player will see the green screen whenever one person uses it.
I made my own version of night vision. I set a server-time which automatically changes and whenever the user uses night vision, I just set their time to be 12:00 so it's day for them and only for them. That's a way to do it.
Re: night vision -
GeneralAref - 03.12.2015
this is question or answer؟
Re: night vision -
xTURBOx - 03.12.2015
CMD:nightvision(playerid,params[])
{
GivePlayerWeapon(playerid,44,500);
SendClientMessage(playerid,-1,"You have been given a night vision goggles");
return 1;
}
Re: night vision -
TwinkiDaBoss - 03.12.2015
Better use some sort of textdraw or soemthing like that. Using server-sided nightvision is bugged.