Posts: 313
Threads: 102
Joined: Nov 2015
Reputation:
0
how to on night vision with command?
Posts: 526
Threads: 52
Joined: Feb 2013
Reputation:
0
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.
Posts: 378
Threads: 29
Joined: Aug 2015
Reputation:
0
CMD:nightvision(playerid,params[])
{
GivePlayerWeapon(playerid,44,500);
SendClientMessage(playerid,-1,"You have been given a night vision goggles");
return 1;
}
Posts: 803
Threads: 138
Joined: Jul 2014
Reputation:
0
Better use some sort of textdraw or soemthing like that. Using server-sided nightvision is bugged.