Lock cars
#1

pawn Код:
public OnVehicleStreamIn(vehicleid, forplayerid)
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(vehicleid == PlayerInfo[i][pPhousekey]+1)
        {
            SetVehicleParamsForPlayer(PlayerInfo[i][pPhousekey]+1, i, 0, 1);
        }
    }
    return 1;
}
I have this code but it works only for my housecar.. I want to make for allhousecars.
Reply
#2

well iknow that this is for all the vehicles;
Код:
public OnVehicleStreamIn(vehicleid, forplayerid)
{	
if(VehicleLock[vehicleid] == 1)
{
SetVehicleParamsForPlayer(vehicleid,forplayerid,0,1);
}
return 1;
}
at the moment im learning how to make it for faction cars :S
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)