01.05.2012, 07:11
If you'd like to set the lock for one player only, it'll only work with OnVehicleStreamIn. I see you're trying to set it for all players. For that, I recommend to use the code bellow:
pawn Код:
pVehicle = CreateVehicle(560,-2003.0203,286.8954,33.5500,90.3872,21,1, 10000);
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(vid,engine,lights,alarm,false,bonnet,boot,objective);