Vehicle stream
#1

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.
Код:
public OnVehicleStreamIn(vehicleid, forplayerid)
{
	if(VehicleLocks[forplayerid][vehicleid] != 0) {
  SetVehicleParamsForPlayer(vehicleid, forplayerid, false, true);
	}
	return true;
}
For some reasons the car is unlocked all players, but locked only for the player which first found the car locked.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)