Every car is locked. Why?
#3

yes. I use OnVehicleStreamIn and looks like this :

Код:
public OnVehicleStreamIn(vehicleid, forplayerid)
{
    if (LightPwr[vehicleid] == 0)
	{
		new panels,doors,lights,tires;
		GetVehicleDamageStatus(vehicleid,panels,doors,lights,tires);
		UpdateVehicleDamageStatus(vehicleid, panels, doors, 5, tires);
	}
 for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(gCarLock[vehicleid] != -1 && gCarLock[vehicleid] != forplayerid)
        {
            SetVehicleParamsForPlayer(vehicleid, forplayerid, 0, 1);
        }
    }
	return 1;
}
Reply


Messages In This Thread
Every car is locked. Why? - by Vibrate17 - 22.12.2010, 20:38
Re: Every car is locked. Why? - by piohh - 22.12.2010, 20:52
Re: Every car is locked. Why? - by Vibrate17 - 22.12.2010, 20:53
Re: Every car is locked. Why? - by Gh0sT_ - 22.12.2010, 20:55
Re: Every car is locked. Why? - by Ash. - 22.12.2010, 21:01
Re: Every car is locked. Why? - by Vibrate17 - 22.12.2010, 21:03

Forum Jump:


Users browsing this thread: 1 Guest(s)