Buy cars system. +1rep - 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)
+--- Thread: Buy cars system. +1rep (
/showthread.php?tid=349489)
Buy cars system -
jimis - 09.06.2012
Hi all,i am trying to make a system with a red circle which when you go there you will buy a car.I know to make that.But i dont know how save this cars on players name on them disconnect and nobadyelse can drive it.I need some help...
Re: Buy cars system. +1rep -
TheLazySloth - 09.06.2012
Quote:
for(new LockOut = 0; LockOut < MAX_PLAYERS; LockOut++) {
if(LockOut != OwnerOfTheVehicle) {
SetVehicleParamsForPlayer( TheIDofTheVehicle, LockOut, 0, 1);
}
}
|
Modify the above code to your variables.
Re: Buy cars system. +1rep -
jimis - 09.06.2012
I mean when someone buy a car then automatticly this car will be save at his name file,and nobody else can drive it,but any way thanks for post...
Re: Buy cars system. +1rep -
jimis - 09.06.2012
someone?
Re: Buy cars system. +1rep - Jarnu - 09.06.2012
*removed.. fail post.
Re: Buy cars system. +1rep -
jimis - 09.06.2012
Jarnu,may you help me?