24.01.2010, 11:55
Hi!
Is OnVehicleStreamIn called for every player even if a vehicle is already streamed for another player?
I don't know why but the vehicle lock doesn't work well, it only works if a player which has got the car locked and then another player has the car locked.
For some reasons the car is unlocked all players, but locked only for the player which first found the car locked.
Is OnVehicleStreamIn called for every player even if a vehicle is already streamed for another player?
I don't know why but the vehicle lock doesn't work well, it only works if a player which has got the car locked and then another player has the car locked.
Код:
public OnVehicleStreamIn(vehicleid, forplayerid) { if(VehicleLocks[forplayerid][vehicleid] != 0) { SetVehicleParamsForPlayer(vehicleid, forplayerid, false, true); } return true; }