Dealership
#1

Hello everyone !

I want to make a command like /catalog : when you are in dealership to type /catalog and see a cars photo..So,

I make this command :

Код:
CMD:catalog(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 7.0, 2361.2095, -66.9100, 25.6588))
    {
        if(IsPlayerInDealership(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Trebuie sa fii in Dealership !");
    }
    return 1;
}
And it`s good this codes ?

Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if(IsPlayerInDealership(playerid))
        if (((newkeys & KEY_LEFT) && !(oldkeys KEY_LEFT)))
        {
            //Make previous model appear
        }
        else if (((newkeys & KEY_RIGHT) && !(oldkeys KEY_RIGHT)))
        {
            //Make next vehicle model appear
        }
    }
    return 1;
}
My question is: What can i put there "//Make previous model appear" ?

I wanna make a dealership like this..but not with buyable :



When i use the arrows {< >} to change cars..

Or,you know a FS with a dealer or showroom like this ?
Reply
#2

Anyone ?
Reply
#3

Lol,Anyone ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)