How can i get that?
#8

pawn Код:
if(dialogid == 559)
{
    if(response)
    {
        new count;
        for(new i = 0; i < MAX_RP_VEHICLES; i++)
        {
            if(VehicleInfo[i][KeyHolder] == CharacterInfo[playerid][active_character[playerid]][cID])
            {
                if(listitem == count)
                {
                    //VehicleInfo[i][vID] is your vehicleid...
                    printf("Player %d clicked on the vehicle id %i",playerid, VehicleInfo[i][vID]);
                   
                    return 1;
                }
                count++;
            }
        }
    }
}
Reply


Messages In This Thread
How can i get that? [+REP] - by K0P - 23.03.2016, 07:44
Re: How can i get that? - by Mencent - 23.03.2016, 08:24
Re: How can i get that? - by K0P - 23.03.2016, 08:35
Re: How can i get that? - by Mencent - 23.03.2016, 08:38
Re: How can i get that? - by K0P - 23.03.2016, 08:43
Re: How can i get that? - by Mencent - 23.03.2016, 08:48
Re: How can i get that? - by K0P - 23.03.2016, 09:16
Re: How can i get that? - by DRIFT_HUNTER - 23.03.2016, 09:21
Re: How can i get that? - by K0P - 23.03.2016, 09:21
Re: How can i get that? - by DRIFT_HUNTER - 23.03.2016, 09:27

Forum Jump:


Users browsing this thread: 1 Guest(s)