SA-MP Forums Archive
Need help with my Carsystem. - 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: Need help with my Carsystem. (/showthread.php?tid=156270)



Need help with my Carsystem. - Mystique - 21.06.2010

Allright, so I had some problems when making my own carsystem.


So I have a file with the vehicle in and coordinates, I also loaded that CarInfo[i][PickupX] bla bla etc. from the dini file
The car won't just show up in the game.

This is what is under my OnGameModeInit
Code:
for(new i; i<MAX_CARS; i++)
  {
  CreateCar("Vehicle1", 10000,400,CarInfo[i][CarposX], CarInfo[i][CarposY], CarInfo[i][CarposZ], CarInfo[i][CarAngle], 1, 0 ,10000);
  
  }



Re: Need help with my Carsystem. - Antonio [G-RP] - 21.06.2010

What the hell is CreateCar?


Re: Need help with my Carsystem. - Brian_G - 21.06.2010

Quote:
Originally Posted by ♂ Antonio [G-RP
]
What the hell is CreateCar?



Re: Need help with my Carsystem. - Mystique - 21.06.2010

It's the stock, it's like..
Code:
stock_CreateCar( bla bla)
{
 bla bla
}
It saves all that info into a dini file and then takes it from there.