SA-MP Forums Archive
I need help pls - 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: I need help pls (/showthread.php?tid=280772)



I need help pls - Mazimo - 02.09.2011

Guys i have Raven's roleplay gamemode, it's hosted and i want to know how can i set owner of a car. Like

/veh 402 0 0: This is when you create it and it says owner: The State

but i want to know how can i change the owner of the car.

Tnx for reading


Re: I need help pls - =WoR=G4M3Ov3r - 02.09.2011

Why don't you ask on the thread ?, people who downloaded it might know better than we do.


Re: I need help pls - IceCube! - 02.09.2011

While I don't think a GF edit has that however I have nohing great to do so post your varibles here and saving parts here as im not downloading the script.

Then if its under 30 - 40 lines I'll do it for you.


Re: I need help pls - judothijs - 03.09.2011

Use /setstat.
20 is VehicleKey1 and 21 is VehicleKey2

If you set those two to 9999, you'll be able to buy another vehicle from the dealership.

Example: /setstat mazimo 20 9999 and /setstat mazimo 21 9999.

Then go to the dealership and buy another car.
If you want the control back over your previous car, simply set your VehKey (1 or 2) to the vehicle id.

Want to change the model? /edit model model_id, then park it.

Raven hasn't got something like that you can actually set the owner of every specific car.

I wouldn't recommend Raven's anyway though, but I hope this helps you