Genuine Confusion
#3

Well, that is pretty easy. You just have to create a multi dimensional array storing the vehicle ID for each listitem.

Some theory code here:
Код:
new DialogInfo[MAX_PLAYERS][100];

new count;
for( new i; I!=MAX_VEHICLES;i++)
{
//check if is owned by the player
DialogInfo[playerid][count] = i;
count++;
}

//on dialog response
new vehicleid = DialogInfo[playerid][listitem];
Reply


Messages In This Thread
Genuine Confusion - by Zonoya - 30.08.2015, 18:23
Re: Genuine Confusion - by Zonoya - 31.08.2015, 17:20
Re: Genuine Confusion - by Marricio - 31.08.2015, 17:53
Re: Genuine Confusion - by Zonoya - 31.08.2015, 18:05
Re: Genuine Confusion - by Marricio - 31.08.2015, 18:12
Re: Genuine Confusion - by Zonoya - 31.08.2015, 18:14

Forum Jump:


Users browsing this thread: 1 Guest(s)