10.03.2013, 21:26
I want to make a vehicle system
This is my start:
I have the loading from sql, but how can I load to
PlayerVehicle[MAX_PLAYERS][MAX_PLAYER_CARS];
if the player owns the car.
I don't wanna copy from other systems, I have to learn to make it by myself
This is my start:
pawn Код:
enum OWNED_CARS_INFO
{
carSqlID,
carModel,
carColor1,
carColor2,
Float:carParkX,
Float:carParkY,
Float:carParkZ,
Float:carParkA,
carPlate[64],
carOwner[128],
carOwned,
carVehicle,
carSpawned,
carOn
}
new OwnedVehicles[MAX_VEHICLES][OWNED_CARS_INFO];
new PlayerVehicle[MAX_PLAYERS][MAX_PLAYER_CARS];
PlayerVehicle[MAX_PLAYERS][MAX_PLAYER_CARS];
if the player owns the car.
I don't wanna copy from other systems, I have to learn to make it by myself