03.11.2012, 04:12
well IDK if this will work but
use y_ini to check that how many cars that player own.
for example y_ini load and if it dectect 9 that onplayerbuycar(if you got such function)
if(IsplayerOwnCar(playerid => 9)
{
SendClientMessage(p[layerid,you can't buy more than 9);
}
else
{
car buy code
use y_ini to check that how many cars that player own.
for example y_ini load and if it dectect 9 that onplayerbuycar(if you got such function)
if(IsplayerOwnCar(playerid => 9)
{
SendClientMessage(p[layerid,you can't buy more than 9);
}
else
{
car buy code