SA-MP Forums Archive
vehicle not locking for unktown bug.. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: vehicle not locking for unktown bug.. (/showthread.php?tid=247868)



vehicle not locking for unktown bug.. - Hornet600 - 11.04.2011

This simple code must lock the car when it is loaded but it ain't happening, take a look and tell me if i left something..

pawn Код:
new vehicleids = CreateVehicle(
vehicleinfo[vehicleid][Model],
vehicleinfo[vehicleid][x],
vehicleinfo[vehicleid][y],
vehicleinfo[vehicleid][z],
vehicleinfo[vehicleid][a],
vehicleinfo[vehicleid][Color1],
vehicleinfo[vehicleid][Color2],60*12000);
for(new u = 0; u < MAX_PLAYERS; u++)
{
        SetVehicleParamsForPlayer(vehicleids,u,0,1);
}



Re: vehicle not locking for unktown bug.. - antonio112 - 11.04.2011

You tried using the function called: OnVehicleStreamIn ?


Re: vehicle not locking for unktown bug.. - Mean - 11.04.2011

EDIT: Misread.