Save car - 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: Save car (
/showthread.php?tid=317153)
Save car -
DexToxz - 10.02.2012
Hey! i made Some Private cars [Elegy]
and i want to save their Tuning[Private]
1.how did i save the tuning for ever
2.how can i make an a CMD to spawn the car to me?
Re: Save car -
IceCube! - 10.02.2012
https://sampforum.blast.hk/showthread.php?tid=235593 < 1 look at that
2
pawn Код:
CMD:mycar(playerid)
{
new Float:X,Float:Y, Float:Z, VehicleID;
GetPlayerPos(playerid, X, Y, Z);
// Get the plaers vehicle then do vehicleid = ....
SetVehiclePos(vehicleid, X, Y, Z);
return 1;
}
Re: Save car -
MP2 - 10.02.2012
What? That's not what he asked for?
http://pastebin.com/t64ezci8
This is what I use to save mods, but do note this code is for MY gamemode and can not just be copied and pasted.
(Could have been written better. It was a while ago.)
Re: Save car -
IceCube! - 10.02.2012
The point of posting what was so he could look through it as I had to code to give and I wasnt going to write that much in one message.