Cardealership
#1

Yo G's
I wanted to ask something about Cardealership on a server, I want to make a Carealership but don't know a idea what method to use, (static). I want the car to be like Static and to display from who it is, so is it an idea to make Cars load from a .ini or from a .cfg? Like:
Code:
 Owned | Owner|Vehicle License Plate| XPos| YPos | ZPos| CarColor
Owned = Is it owned? 0/1
Owner = Who owns the vehicle.
Vehicle License Plate = Displays the vehicle license plate OnGameModeInit();
XPos = X Position
YPos = Y Position
ZPos = Z Position
Carcolor = Color of the car

Should it actuelly be loaded via a .ini (Information for each player) or via a .cfg which is just like:
Code:
CarInfo[i]Owned = 1;
Code:
CarSave(); < Which saves the information applied above.
Reply
#2

I'd save it on a per-player basis, Purely for the fact that it's easier when something goes wrong...
Reply
#3

But you mean.. OnPlayerLogin, that's ugly.. If you logg out your car goes with you, and if you log in it spawns.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)