SA-MP Forums Archive
[SOLVED]Sa-Mp Vehicle Locks - 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: [SOLVED]Sa-Mp Vehicle Locks (/showthread.php?tid=111314)



[SOLVED]Sa-Mp Vehicle Locks - sant - 01.12.2009

Can someone tell me how to lock the cars?

Thanks in advance


Re: Sa-Mp Vehicle Locks - sant - 01.12.2009

Never mind, i found 1 in the sa-mp wiki.

link: https://sampwiki.blast.hk/wiki/SetVehicleParamsForPlayer


Re: [SOLVED]Sa-Mp Vehicle Locks - BP13 - 01.12.2009

What part needs to go under OnVehicleStremedIn? this part?


new i;
while(i < MAX_PLAYERS)
{
if(i == playerid) continue;
SetVehicleParamsForPlayer(GetPlayerVehicleID(playe rid),i++,0,1);
}