SA-MP Forums Archive
Adding Vehicles - 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: Adding Vehicles (/showthread.php?tid=66159)



Adding Vehicles - hypnoticweener - 20.02.2009

I Need to know how to add vehicles, i cant find out anywer, all the things they have here are of no use
Im running vista Home Premium, whenever i do the Debug thing all i see on the savedpositions.txt is were my character is
Код:
AddPlayerClass(0,1355.5046,-869.8131,39.9918,5.2993,0,0,0,0,0,0); //
i run it as administrator, if anyone could help me plz, thanks


Re: Adding Vehicles - tehcudguy - 20.02.2009

Get in the vehicle and park it where you would like it to be than do /save while in the vehicle and you'll find a text file in you san andreas directory called "savedpositions.txt" than just paste those lines into your gamemode, under "OnGameModeInit"


Re: Adding Vehicles - CJ101 - 20.02.2009

javascript:void(0);
Quote:
Originally Posted by hypnoticweener
I Need to know how to add vehicles, i cant find out anywer, all the things they have here are of no use
Im running vista Home Premium, whenever i do the Debug thing all i see on the savedpositions.txt is were my character is
Код:
AddPlayerClass(0,1355.5046,-869.8131,39.9918,5.2993,0,0,0,0,0,0); //
i run it as administrator, if anyone could help me plz, thanks
add
AddPlayerClass(0,1355.5046,-869.8131,39.9918,5.2993,0,0,0,0,0,0);

to your code


Re: Adding Vehicles - tehcudguy - 20.02.2009

Quote:
Originally Posted by cj101
javascript:void(0);
Quote:
Originally Posted by hypnoticweener
I Need to know how to add vehicles, i cant find out anywer, all the things they have here are of no use
Im running vista Home Premium, whenever i do the Debug thing all i see on the savedpositions.txt is were my character is
Код:
AddPlayerClass(0,1355.5046,-869.8131,39.9918,5.2993,0,0,0,0,0,0); //
i run it as administrator, if anyone could help me plz, thanks
add
AddPlayerClass(0,1355.5046,-869.8131,39.9918,5.2993,0,0,0,0,0,0);

to your code
I think that was obvious, and he wanted to know how to add cars not player classes.


Re: Adding Vehicles - hypnoticweener - 20.02.2009

Quote:
Originally Posted by [SE
FeaR ]
Get in the vehicle and park it where you would like it to be than do /save while in the vehicle and you'll find a text file in you san andreas directory called "savedpositions.txt" than just paste those lines into your gamemode, under "OnGameModeInit"
THanks dude, it worked