MAX_PLAYERVEHICLES
#5

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.
Reply


Messages In This Thread
MAX_PLAYERVEHICLES - by MrCallum - 17.12.2015, 17:58
Re: MAX_PLAYERVEHICLES - by ATomas - 17.12.2015, 18:00
Re: MAX_PLAYERVEHICLES - by MrCallum - 17.12.2015, 18:02
Re: MAX_PLAYERVEHICLES - by SickAttack - 17.12.2015, 18:29
Re: MAX_PLAYERVEHICLES - by thefirestate - 17.12.2015, 18:37

Forum Jump:


Users browsing this thread: 1 Guest(s)