05.05.2015, 06:53
So I've tried to use new function SetVehicleParamsWindows and I don't know how arguments work (it's not specified on wiki). So when I want to close all windows, i need to set driver, passenger etc to 0? Or when I want to open all windows I need to set variables 1? I tried this:
pawn Код:
new vehicleid = GetPlayerVehicleID(playerid), driver, passenger, backleft, backright;
GetVehicleParamsWindows(vehicleid, driver, passenger, backleft, backright);
//Then I did:
printf("%i, %i, %i, %i", vehicleid, driver, passenger, backleft, backright);
//Output on closed windows -1, -1, -1, -1
//Why not 0??