How can i get that?
#9

Code under OnDialogResponse:
PHP код:
    if(dialogid == 558)
    {
        if(
response)
        {
            new 
str[250], str2[250], count;
            for(new 
0MAX_RP_VEHICLESi++)
            {
                
count++;
                if(
VehicleInfo[i][KeyHolder] == CharacterInfo[playerid][active_character[playerid]][cID])
                {
                    
format(str2sizeof(str2), "%s (%d)\n"VehicleInfo[i][vModel], VehicleInfo[i][vID]);
                    
strcat(strstr2);
                }
            }
            
ShowPlayerDialog(playerid559DIALOG_STYLE_LIST""COL_GREEN"JRP - Vehicle Keys"str"Select""");
        }
    }
    if(
dialogid == 559)
    {
        if(
response)
        {
        }
    } 

Note: Im not showing all the vehicles,im showing the vehicles which the player owns.
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)