[HELP]
#3

Код:
CMD:vstorage(playerid, params[])
{
	new vstring[1024];
	for(new i; i < MAX_PLAYERVEHICLES; i++)
	{
		if(PlayerVehicleInfo[playerid][i][pvId] > INVALID_PLAYER_VEHICLE_ID)
			format(vstring, sizeof(vstring), "%s\n%s", vstring, VehicleName[PlayerVehicleInfo[playerid][i][pvModelId] - 400]);

		else if(PlayerVehicleInfo[playerid][i][pvImpounded] == 1)
			format(vstring, sizeof(vstring), "%s\n%s (impounded)", vstring, VehicleName[PlayerVehicleInfo[playerid][i][pvModelId] - 400]);

		else
		format(vstring, sizeof(vstring), "%s\nEmpty", vstring);
	}
	ShowPlayerDialog(playerid, VSTORAGE, DIALOG_STYLE_LIST, "OnStar Vehicle Storage", vstring, "(UN)Store", "Cancel");
	return 1;
}
Reply


Messages In This Thread
[HELP] - by PakistaniBaba - 30.10.2013, 10:07
Re: [HELP] - by Danialdano - 30.10.2013, 10:49
Re: [HELP] - by PakistaniBaba - 30.10.2013, 10:51

Forum Jump:


Users browsing this thread: 1 Guest(s)