Small question - 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: Small question (
/showthread.php?tid=157490)
Small question -
Wrath2k10 - 06.07.2010
I was working on 1 of my new scripts but was thinking
How to lock a car for everyone.
I've created the car useing
car1 = ... etc
So they got a "name"
How to lock the cars?
Re: Small question -
CAR - 06.07.2010
pawn Код:
public OnPlayerConnect(playerid)
{
SetVehicleParamsForPlayer(car1, playerid, 0, 1); // vehicleid, playerid, objective, locked
}
Re: Small question -
Wrath2k10 - 06.07.2010
Thank you for fast response ;0