17.12.2015, 18:37
MAX_PLAYERVEHICLES is not what you are looking for. I am not making you a script but I will give you a few suggestion on how I would do it. Make unlimited vehicles with MySQL or SQLite as you set the owner to unique SQL ID or by checking his name, after that make him an array like in enum something like vSlots then you set it to the maximum slots he can have. After that you just check before he buy a car if he reached his vSlots value and if he did tell him a.k.a return SendClientMessage with an error.