03.03.2008, 07:21
I tried using SetStreamVehicleParamsForPlayer instead of SetVehicleParamsForPlayer and it just doesn't compile, it says that it cant recognize "i" in row 411 in your include, i checked and indeed:
You see? the stock gets "playerid" but uses "i", i changed it to playerid and it compiles with no warnings, but doesn’t work in game. i assume its something with UpdateVehicleParams, but u probably know better.. if u already released a fix for it and i have an older version, sorry.
Код:
stock SetStreamVehicleParamsForPlayer(vstreamid,playerid,objective,doorslocked) { PlI[i][vstreamid][obj] = objective; PlI[i][vstreamid][dlock] = doorslocked; if(VehicleInfo[vstreamid][spawned] == 1) { UpdateVehicleParams(vstreamid); } return 1; }