Vehicle system help.
#1

I want to make a vehicle system
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];
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
Reply
#2

I'm not sure I understand what you want help with, could you explain a bit further? I'm happy to help if I can.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)