Command doesn't work
#2

Код:
COMMAND:temp(playerid,params[])
{
	new string[420];
	for(new v=0; v < PlayerInfo[playerid][amountofcars]; v++)
	{
		format(string, sizeof(string), "%i(%i)", cInfo[v][carmodelid], cInfo[v][db_id]);
	}
	ShowPlayerDialog(playerid, DIALOG_CARSPAWN, DIALOG_STYLE_LIST, "Car spawning", string, "Spawn", "Close");
	return 1;
}
ShowPlayerDialog() should be out of the loop.
Reply


Messages In This Thread
Command doesn't work - by justjamie - 27.05.2016, 15:45
Re: Command doesn't work - by Darkwood17 - 27.05.2016, 15:57
Re: Command doesn't work - by justjamie - 27.05.2016, 16:00
Re: Command doesn't work - by Dayrion - 27.05.2016, 16:12
Re: Command doesn't work - by justjamie - 27.05.2016, 16:15

Forum Jump:


Users browsing this thread: 1 Guest(s)