04.03.2010, 19:46
Is very simple, you should add this under any public:
pawn Code:
public OnVehicleStreamIn(vehicleid, forplayerid)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(gCarLock[vehicleid] != -1 && gCarLock[vehicleid] != forplayerid)
{
SetVehicleParamsForPlayer(vehicleid, forplayerid, 0, 1);
}
}
return 1;
}