SA:MP 0.3.7 SetVehicleParamsWindows arguments values?
#1

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??
Reply


Messages In This Thread
SA:MP 0.3.7 SetVehicleParamsWindows arguments values? - by Riwerry - 05.05.2015, 06:53
Re: SA:MP 0.3.7 SetVehicleParamsWindows arguments values? - by Emmet_ - 05.05.2015, 06:59
Re: SA:MP 0.3.7 SetVehicleParamsWindows arguments values? - by Riwerry - 05.05.2015, 07:08
Re: SA:MP 0.3.7 SetVehicleParamsWindows arguments values? - by MP2 - 05.05.2015, 07:15
Re: SA:MP 0.3.7 SetVehicleParamsWindows arguments values? - by DaniceMcHarley - 05.05.2015, 08:02

Forum Jump:


Users browsing this thread: 1 Guest(s)