22.03.2010, 21:15
Hey.
Im gonna make a info bar at the side, and then i want to make a switch() for the windows.
I need some help with the switch - The script is working fine, but it just shows: Windows: 1/0
Im gonna make the same with the doors, locks and GPS system.
But if someone just wanna help me a little with the windows, then i can learn something and make the rest myself
Im gonna make a info bar at the side, and then i want to make a switch() for the windows.
Код:
new windows = CarWindowStatus[GetPlayerVehicleID(i)];
Код:
switch(What do i write here?) { case 0: windows = "Up"; case 1: windows = "Down"; }
Код:
format(tmp, sizeof(tmp), "Windows: %d"",windows);
Im gonna make the same with the doors, locks and GPS system.
But if someone just wanna help me a little with the windows, then i can learn something and make the rest myself