12.04.2012, 01:18
That's what the second code is for. Although, you must implement the vehicle dealership system first before doing the lock system. You should also have enumerations for vehicles so that you could have a variable which indicates the owner of the vehicle using the player's name. So something like:
pawn Код:
VehicleStats[vehicleid][Owner]