[Question] Saving cars - 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: [Question] Saving cars (
/showthread.php?tid=118471)
[Question] Saving cars -
Gvdsloot - 03.01.2010
Hello, I want to make a point where you can buy a car. But I have no clue how I should store them and load them
How can I handle this?
Re: [Question] Saving cars -
Gvdsloot - 03.01.2010
Bumb
Re: [Question] Saving cars -
fsnameless - 05.01.2010
go in game and type /save while in a vehicle and go to your GTA sa directory and find a file called "SavedPositions.txt"
and add it to your files under
pawn Код:
// If Gamemode
public OnGameModeInit()
{
// Place Code For Spawning Your Cars Here "CreateVehicle or AddStaticVehicle"
return 1;
}
// If Filter Script
public OnFilterScriptInit
{
// Place Code For Spawning Your Cars Here "CreateVehicle or AddStaticVehicle"
return 1;
}